Skip to content

Commit 9a1805b

Browse files
committed
fix test
1 parent f2d4792 commit 9a1805b

File tree

1 file changed

+5
-40
lines changed
  • packages/svelte/tests/parser-modern/samples/attachments

1 file changed

+5
-40
lines changed

packages/svelte/tests/parser-modern/samples/attachments/output.json

Lines changed: 5 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"name": "div",
1515
"attributes": [
1616
{
17-
"type": "AttachTag",
17+
"type": "Attachment",
1818
"start": 5,
1919
"end": 13,
2020
"attachments": [
@@ -35,13 +35,6 @@
3535
"name": "a"
3636
}
3737
]
38-
},
39-
{
40-
"type": "Attribute",
41-
"start": 13,
42-
"end": 14,
43-
"name": ")",
44-
"value": true
4538
}
4639
],
4740
"fragment": {
@@ -63,7 +56,7 @@
6356
"name": "div",
6457
"attributes": [
6558
{
66-
"type": "AttachTag",
59+
"type": "Attachment",
6760
"start": 27,
6861
"end": 41,
6962
"attachments": [
@@ -116,13 +109,6 @@
116109
"name": "c"
117110
}
118111
]
119-
},
120-
{
121-
"type": "Attribute",
122-
"start": 41,
123-
"end": 42,
124-
"name": ")",
125-
"value": true
126112
}
127113
],
128114
"fragment": {
@@ -144,7 +130,7 @@
144130
"name": "div",
145131
"attributes": [
146132
{
147-
"type": "AttachTag",
133+
"type": "Attachment",
148134
"start": 55,
149135
"end": 70,
150136
"attachments": [
@@ -180,13 +166,6 @@
180166
}
181167
}
182168
]
183-
},
184-
{
185-
"type": "Attribute",
186-
"start": 70,
187-
"end": 71,
188-
"name": ")",
189-
"value": true
190169
}
191170
],
192171
"fragment": {
@@ -208,7 +187,7 @@
208187
"name": "div",
209188
"attributes": [
210189
{
211-
"type": "AttachTag",
190+
"type": "Attachment",
212191
"start": 84,
213192
"end": 108,
214193
"attachments": [
@@ -292,13 +271,6 @@
292271
}
293272
}
294273
]
295-
},
296-
{
297-
"type": "Attribute",
298-
"start": 108,
299-
"end": 109,
300-
"name": ")",
301-
"value": true
302274
}
303275
],
304276
"fragment": {
@@ -320,7 +292,7 @@
320292
"name": "div",
321293
"attributes": [
322294
{
323-
"type": "AttachTag",
295+
"type": "Attachment",
324296
"start": 122,
325297
"end": 141,
326298
"attachments": [
@@ -378,13 +350,6 @@
378350
}
379351
}
380352
]
381-
},
382-
{
383-
"type": "Attribute",
384-
"start": 141,
385-
"end": 142,
386-
"name": ")",
387-
"value": true
388353
}
389354
],
390355
"fragment": {

0 commit comments

Comments
 (0)