Skip to content

Commit 107444b

Browse files
committed
update test fixtures
1 parent 62e7d55 commit 107444b

1 file changed

Lines changed: 23 additions & 23 deletions

File tree

  • packages/babel-parser/test/fixtures/experimental/module-string-names/export-name-has-lone-surrogate

packages/babel-parser/test/fixtures/experimental/module-string-names/export-name-has-lone-surrogate/output.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"type": "File",
33
"start":0,"end":127,"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":52}},
44
"errors": [
5-
"SyntaxError: Export name can not include lone surrogate, but '\\ud800' is seen (2:16)"
5+
"SyntaxError: An export name cannot include a lone surrogate, found '\\ud800' (2:16)"
66
],
77
"program": {
88
"type": "Program",
@@ -56,6 +56,13 @@
5656
{
5757
"type": "ExportNamedDeclaration",
5858
"start":26,"end":58,"loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":32}},
59+
"trailingComments": [
60+
{
61+
"type": "CommentLine",
62+
"value": " should throw",
63+
"start":59,"end":74,"loc":{"start":{"line":2,"column":33},"end":{"line":2,"column":48}}
64+
}
65+
],
5966
"specifiers": [
6067
{
6168
"type": "ExportSpecifier",
@@ -77,18 +84,25 @@
7784
}
7885
],
7986
"source": null,
80-
"declaration": null,
81-
"trailingComments": [
87+
"declaration": null
88+
},
89+
{
90+
"type": "ExportNamedDeclaration",
91+
"start":75,"end":107,"loc":{"start":{"line":3,"column":0},"end":{"line":3,"column":32}},
92+
"leadingComments": [
8293
{
8394
"type": "CommentLine",
8495
"value": " should throw",
8596
"start":59,"end":74,"loc":{"start":{"line":2,"column":33},"end":{"line":2,"column":48}}
8697
}
87-
]
88-
},
89-
{
90-
"type": "ExportNamedDeclaration",
91-
"start":75,"end":107,"loc":{"start":{"line":3,"column":0},"end":{"line":3,"column":32}},
98+
],
99+
"trailingComments": [
100+
{
101+
"type": "CommentLine",
102+
"value": " should not throw",
103+
"start":108,"end":127,"loc":{"start":{"line":3,"column":33},"end":{"line":3,"column":52}}
104+
}
105+
],
92106
"specifiers": [
93107
{
94108
"type": "ExportSpecifier",
@@ -110,21 +124,7 @@
110124
}
111125
],
112126
"source": null,
113-
"declaration": null,
114-
"leadingComments": [
115-
{
116-
"type": "CommentLine",
117-
"value": " should throw",
118-
"start":59,"end":74,"loc":{"start":{"line":2,"column":33},"end":{"line":2,"column":48}}
119-
}
120-
],
121-
"trailingComments": [
122-
{
123-
"type": "CommentLine",
124-
"value": " should not throw",
125-
"start":108,"end":127,"loc":{"start":{"line":3,"column":33},"end":{"line":3,"column":52}}
126-
}
127-
]
127+
"declaration": null
128128
}
129129
],
130130
"directives": []

0 commit comments

Comments
 (0)