Skip to content

Commit a30821f

Browse files
committed
ugh
1 parent 54fa0a8 commit a30821f

File tree

1 file changed

+1
-1
lines changed
  • packages/svelte/tests/compiler-errors/samples/class-state-field-static

1 file changed

+1
-1
lines changed

packages/svelte/tests/compiler-errors/samples/class-state-field-static/_config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ export default test({
44
error: {
55
code: 'invalid-state-location',
66
message: '$state() can only be used as a variable declaration initializer or a class field',
7-
position: [33, 41]
7+
position: process.platform === 'win32' ? [35, 43] : [33, 41]
88
}
99
});

0 commit comments

Comments
 (0)