mirror of
https://github.com/swc-project/swc.git
synced 2024-12-23 05:32:09 +03:00
chore: Fix CI
This commit is contained in:
parent
d7d160e2fa
commit
565a7202ed
@ -1,6 +1,6 @@
|
||||
|
||||
x Unterminated regexp literal
|
||||
,-[$DIR/tests/jsx/errors/adjacent-tags/input.js:2:1]
|
||||
2 | var x = <div>one</div><div>two</div>;
|
||||
,-[$DIR/tests/jsx/errors/adjacent-tags/input.js:1:1]
|
||||
1 | var x = <div>one</div><div>two</div>;
|
||||
: ^^^^^^
|
||||
`----
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
x JSX value should be either an expression or a quoted JSX text
|
||||
,-[$DIR/tests/jsx/errors/attribute-arbitrary-expression/input.js:2:1]
|
||||
2 | <Foo bar=bar() />
|
||||
,-[$DIR/tests/jsx/errors/attribute-arbitrary-expression/input.js:1:1]
|
||||
1 | <Foo bar=bar() />
|
||||
: ^^^
|
||||
`----
|
||||
|
@ -1,13 +1,13 @@
|
||||
|
||||
x Unexpected token `> (jsx tag end)`. Expected this, import, async, function, [ for array literal, { for object literal, @ for decorator, function, class, null, true, false, number, bigint,
|
||||
| string, regexp, ` for template literal, (, or an identifier
|
||||
,-[$DIR/tests/jsx/errors/attribute-empty-expression/input.js:2:1]
|
||||
2 | <foo bar={} />
|
||||
,-[$DIR/tests/jsx/errors/attribute-empty-expression/input.js:1:1]
|
||||
1 | <foo bar={} />
|
||||
: ^
|
||||
`----
|
||||
|
||||
x Expression expected
|
||||
,-[$DIR/tests/jsx/errors/attribute-empty-expression/input.js:2:1]
|
||||
2 | <foo bar={} />
|
||||
,-[$DIR/tests/jsx/errors/attribute-empty-expression/input.js:1:1]
|
||||
1 | <foo bar={} />
|
||||
: ^
|
||||
`----
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
x Unexpected token `=`. Expected jsx identifier
|
||||
,-[$DIR/tests/jsx/errors/attributes-in-fragment/input.js:2:1]
|
||||
2 | < key="nope"></>
|
||||
,-[$DIR/tests/jsx/errors/attributes-in-fragment/input.js:1:1]
|
||||
1 | < key="nope"></>
|
||||
: ^
|
||||
`----
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
x Legacy comments cannot be used in module code
|
||||
,-[$DIR/tests/jsx/errors/html-comment/input.js:2:1]
|
||||
2 | <!--a
|
||||
,-[$DIR/tests/jsx/errors/html-comment/input.js:1:1]
|
||||
1 | <!--a
|
||||
: ^^^^^^
|
||||
`----
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
x Rest element must be final element
|
||||
,-[$DIR/tests/jsx/errors/issue-3523/input.js:4:1]
|
||||
4 | for ({...rest, b} of [{}
|
||||
,-[$DIR/tests/jsx/errors/issue-3523/input.js:3:1]
|
||||
3 | for ({...rest, b} of [{}
|
||||
: ^^^^^^^
|
||||
`----
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
x Rest element must be final element
|
||||
,-[$DIR/tests/jsx/errors/issue-387-1/input.js:2:1]
|
||||
2 | var {...c, d} = {};
|
||||
,-[$DIR/tests/jsx/errors/issue-387-1/input.js:1:1]
|
||||
1 | var {...c, d} = {};
|
||||
: ^^^^
|
||||
`----
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
x Rest element must be final element
|
||||
,-[$DIR/tests/jsx/errors/issue-387-2/input.js:2:1]
|
||||
2 | var {...c, ...d} = {};
|
||||
,-[$DIR/tests/jsx/errors/issue-387-2/input.js:1:1]
|
||||
1 | var {...c, ...d} = {};
|
||||
: ^^^^
|
||||
`----
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
x `...` must be followed by an identifier in declaration contexts
|
||||
,-[$DIR/tests/jsx/errors/issue-387-3/input.js:2:1]
|
||||
2 | var {...{}} = {};
|
||||
,-[$DIR/tests/jsx/errors/issue-387-3/input.js:1:1]
|
||||
1 | var {...{}} = {};
|
||||
: ^^^^^
|
||||
`----
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
x assignment property is invalid syntax
|
||||
,-[$DIR/tests/jsx/errors/issue-387-4/input.js:2:1]
|
||||
2 | var a = {b = 1};
|
||||
,-[$DIR/tests/jsx/errors/issue-387-4/input.js:1:1]
|
||||
1 | var a = {b = 1};
|
||||
: ^^^^^
|
||||
`----
|
||||
|
@ -1,13 +1,13 @@
|
||||
|
||||
x Expected ';', '}' or <eof>
|
||||
,-[$DIR/tests/jsx/errors/issue-387-5/input.js:2:1]
|
||||
2 | {a:1, b:2}
|
||||
,-[$DIR/tests/jsx/errors/issue-387-5/input.js:1:1]
|
||||
1 | {a:1, b:2}
|
||||
: ^
|
||||
`----
|
||||
|
||||
Error:
|
||||
> This is the expression part of an expression statement
|
||||
,-[$DIR/tests/jsx/errors/issue-387-5/input.js:2:1]
|
||||
2 | {a:1, b:2}
|
||||
,-[$DIR/tests/jsx/errors/issue-387-5/input.js:1:1]
|
||||
1 | {a:1, b:2}
|
||||
: ^^^^
|
||||
`----
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
x Unexpected eof
|
||||
,-[$DIR/tests/jsx/errors/nested-fragment-unclosed/input.js:2:9]
|
||||
2 |
|
||||
,-[$DIR/tests/jsx/errors/nested-fragment-unclosed/input.js:1:9]
|
||||
1 |
|
||||
: ^
|
||||
`----
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
x Unexpected eof
|
||||
,-[$DIR/tests/jsx/errors/unclosed-tag/input.js:2:10]
|
||||
2 |
|
||||
,-[$DIR/tests/jsx/errors/unclosed-tag/input.js:1:10]
|
||||
1 |
|
||||
: ^
|
||||
`----
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
x Unexpected token `你`. Expected jsx identifier
|
||||
,-[$DIR/tests/jsx/errors/unicode-escape-in-identifier/input.js:2:1]
|
||||
2 | <\u{2F804}></\u{2F804}>
|
||||
,-[$DIR/tests/jsx/errors/unicode-escape-in-identifier/input.js:1:1]
|
||||
1 | <\u{2F804}></\u{2F804}>
|
||||
: ^^^^^^^^^
|
||||
`----
|
||||
|
@ -1,12 +1,12 @@
|
||||
|
||||
x Unexpected eof
|
||||
,-[$DIR/tests/jsx/errors/unterminated-string/input.js:2:12]
|
||||
2 |
|
||||
,-[$DIR/tests/jsx/errors/unterminated-string/input.js:1:12]
|
||||
1 |
|
||||
: ^
|
||||
`----
|
||||
|
||||
x Unterminated string constant
|
||||
,-[$DIR/tests/jsx/errors/unterminated-string/input.js:2:1]
|
||||
2 | <foo bar="
|
||||
,-[$DIR/tests/jsx/errors/unterminated-string/input.js:1:1]
|
||||
1 | <foo bar="
|
||||
: ^^
|
||||
`----
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
x Unexpected eof
|
||||
,-[$DIR/tests/jsx/errors/wrong-closing-tag-fragment/input.js:2:1]
|
||||
2 | <></something>
|
||||
,-[$DIR/tests/jsx/errors/wrong-closing-tag-fragment/input.js:1:1]
|
||||
1 | <></something>
|
||||
: ^
|
||||
`----
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
x Unexpected eof
|
||||
,-[$DIR/tests/jsx/errors/wrong-closing-tag/input.js:2:1]
|
||||
2 | <Foo></Bar>
|
||||
,-[$DIR/tests/jsx/errors/wrong-closing-tag/input.js:1:1]
|
||||
1 | <Foo></Bar>
|
||||
: ^
|
||||
`----
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
x Unexpected eof
|
||||
,-[$DIR/tests/jsx/errors/wrong-opening-tag-fragment/input.js:2:1]
|
||||
2 | <something></>
|
||||
,-[$DIR/tests/jsx/errors/wrong-opening-tag-fragment/input.js:1:1]
|
||||
1 | <something></>
|
||||
: ^
|
||||
`----
|
||||
|
Loading…
Reference in New Issue
Block a user