Skip to content

Commit e9fc9f5

Browse files
committed
tests
1 parent 7c28a14 commit e9fc9f5

File tree

2 files changed

+8
-3
lines changed
  • packages/svelte/tests
    • parser-modern/samples/comment-before-script
    • server-side-rendering/samples/head-meta-hydrate-duplicate

2 files changed

+8
-3
lines changed

packages/svelte/tests/parser-modern/samples/comment-before-script/output.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
"column": 0
4545
}
4646
},
47-
"leadingComments": [{ "type": "Line", "value": "should not error out" }],
4847
"body": [
4948
{
5049
"type": "VariableDeclaration",
@@ -127,7 +126,13 @@
127126
"kind": "let"
128127
}
129128
],
130-
"sourceType": "module"
129+
"sourceType": "module",
130+
"leadingComments": [
131+
{
132+
"type": "Line",
133+
"value": "should not error out"
134+
}
135+
]
131136
}
132137
}
133138
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<![><div>Just a dummy page.</div><!]>
1+
<!--[--><div>Just a dummy page.</div><!--]-->

0 commit comments

Comments
 (0)