Skip to content

Commit 348d91d

Browse files
committed
fix failing tests
1 parent 971f463 commit 348d91d

File tree

82 files changed

+123
-116
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+123
-116
lines changed

packages/svelte/tests/parser-legacy/samples/action-duplicate/output.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@
1515
"end": 20,
1616
"type": "Action",
1717
"name": "autofocus",
18-
"modifiers": [],
19-
"expression": null
18+
"expression": null,
19+
"modifiers": []
2020
},
2121
{
2222
"start": 21,
2323
"end": 34,
2424
"type": "Action",
2525
"name": "autofocus",
26-
"modifiers": [],
27-
"expression": null
26+
"expression": null,
27+
"modifiers": []
2828
}
2929
],
3030
"children": []
3131
}
3232
]
3333
}
34-
}
34+
}

packages/svelte/tests/parser-legacy/samples/action-with-call/output.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"end": 39,
1616
"type": "Action",
1717
"name": "tooltip",
18-
"modifiers": [],
1918
"expression": {
2019
"type": "CallExpression",
2120
"start": 21,
@@ -66,11 +65,12 @@
6665
}
6766
],
6867
"optional": false
69-
}
68+
},
69+
"modifiers": []
7070
}
7171
],
7272
"children": []
7373
}
7474
]
7575
}
76-
}
76+
}

packages/svelte/tests/parser-legacy/samples/action-with-identifier/output.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"end": 28,
1616
"type": "Action",
1717
"name": "tooltip",
18-
"modifiers": [],
1918
"expression": {
2019
"type": "Identifier",
2120
"start": 20,
@@ -31,11 +30,12 @@
3130
}
3231
},
3332
"name": "message"
34-
}
33+
},
34+
"modifiers": []
3535
}
3636
],
3737
"children": []
3838
}
3939
]
4040
}
41-
}
41+
}

packages/svelte/tests/parser-legacy/samples/action-with-literal/output.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"end": 36,
1616
"type": "Action",
1717
"name": "tooltip",
18-
"modifiers": [],
1918
"expression": {
2019
"type": "Literal",
2120
"start": 21,
@@ -32,11 +31,12 @@
3231
},
3332
"value": "tooltip msg",
3433
"raw": "'tooltip msg'"
35-
}
34+
},
35+
"modifiers": []
3636
}
3737
],
3838
"children": []
3939
}
4040
]
4141
}
42-
}
42+
}

packages/svelte/tests/parser-legacy/samples/action/output.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
"end": 20,
1616
"type": "Action",
1717
"name": "autofocus",
18-
"modifiers": [],
19-
"expression": null
18+
"expression": null,
19+
"modifiers": []
2020
}
2121
],
2222
"children": []
2323
}
2424
]
2525
}
26-
}
26+
}

packages/svelte/tests/parser-legacy/samples/animation/output.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
"end": 50,
2121
"type": "Animation",
2222
"name": "flip",
23-
"modifiers": [],
24-
"expression": null
23+
"expression": null,
24+
"modifiers": []
2525
}
2626
],
2727
"children": [
@@ -88,4 +88,4 @@
8888
}
8989
]
9090
}
91-
}
91+
}

packages/svelte/tests/parser-legacy/samples/attribute-class-directive/output.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"end": 22,
1616
"type": "Class",
1717
"name": "foo",
18-
"modifiers": [],
1918
"expression": {
2019
"type": "Identifier",
2120
"start": 16,
@@ -31,11 +30,12 @@
3130
}
3231
},
3332
"name": "isFoo"
34-
}
33+
},
34+
"modifiers": []
3535
}
3636
],
3737
"children": []
3838
}
3939
]
4040
}
41-
}
41+
}

packages/svelte/tests/parser-legacy/samples/attribute-containing-solidus/output.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@
3838
}
3939
]
4040
}
41-
}
41+
}

packages/svelte/tests/parser-legacy/samples/attribute-curly-bracket/output.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@
5252
}
5353
]
5454
}
55-
}
55+
}

packages/svelte/tests/parser-legacy/samples/attribute-dynamic-boolean/output.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@
4444
}
4545
]
4646
}
47-
}
47+
}

0 commit comments

Comments
 (0)