Skip to content

Commit 26bc92d

Browse files
committed
test: testing updates for suggestions change
1 parent be2c4db commit 26bc92d

File tree

5 files changed

+16
-21
lines changed

5 files changed

+16
-21
lines changed

tests/fixtures/rules/no-extra-reactive-curlies/invalid/test01-errors.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
{
33
"message": "Do not wrap reactive statements in curly braces unless necessary.",
44
"line": 2,
5-
"column": 6
5+
"column": 6,
6+
"suggestions": [
7+
{
8+
"desc": "Remove the unnecessary curly braces.",
9+
"messageId": "removeExtraCurlies",
10+
"output": "<script>\r\n $: foo = info\r\n</script>\r\n"
11+
}
12+
]
613
}
714
]

tests/fixtures/rules/no-extra-reactive-curlies/invalid/test01-output.svelte

Lines changed: 0 additions & 3 deletions
This file was deleted.

tests/fixtures/rules/no-extra-reactive-curlies/invalid/test02-errors.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
{
33
"message": "Do not wrap reactive statements in curly braces unless necessary.",
44
"line": 3,
5-
"column": 6
5+
"column": 6,
6+
"suggestions": [
7+
{
8+
"desc": "Remove the unnecessary curly braces.",
9+
"messageId": "removeExtraCurlies",
10+
"output": "<!-- prettier-ignore -->\r\n<script>\r\n $: foo = info;\r\n</script>\r\n"
11+
}
12+
]
613
}
714
]

tests/fixtures/rules/no-extra-reactive-curlies/invalid/test02-output.svelte

Lines changed: 0 additions & 4 deletions
This file was deleted.

tests/fixtures/rules/no-extra-reactive-curlies/valid/test03-input.svelte

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)