Skip to content

Commit a8913f8

Browse files
committed
fix failing test
1 parent 0602425 commit a8913f8

File tree

1 file changed

+6
-6
lines changed
  • packages/svelte/tests/validator/samples/class-state-constructor-9

1 file changed

+6
-6
lines changed
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[
22
{
3-
"code": "state_field_invalid_assignment",
4-
"message": "Cannot assign to a state field before its declaration",
3+
"code": "duplicate_class_field",
4+
"message": "`count` has already been declared",
55
"start": {
6-
"line": 2,
7-
"column": 1
6+
"line": 5,
7+
"column": 2
88
},
99
"end": {
10-
"line": 2,
11-
"column": 12
10+
"line": 5,
11+
"column": 24
1212
}
1313
}
1414
]

0 commit comments

Comments
 (0)