Skip to content

Commit

Permalink
chore: Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Mar 19, 2022
1 parent d7d160e commit 565a720
Show file tree
Hide file tree
Showing 18 changed files with 42 additions and 42 deletions.
Original file line number Diff line number Diff line change
@@ -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>;
: ^^^^^^
`----
Original file line number Diff line number Diff line change
@@ -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() />
: ^^^
`----
Original file line number Diff line number Diff line change
@@ -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={} />
: ^
`----
Original file line number Diff line number Diff line change
@@ -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"></>
: ^
`----
Original file line number Diff line number Diff line change
@@ -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
: ^^^^^^
`----
Original file line number Diff line number Diff line change
@@ -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 [{}
: ^^^^^^^
`----
Original file line number Diff line number Diff line change
@@ -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} = {};
: ^^^^
`----
Original file line number Diff line number Diff line change
@@ -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} = {};
: ^^^^
`----
Original file line number Diff line number Diff line change
@@ -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 {...{}} = {};
: ^^^^^
`----
Original file line number Diff line number Diff line change
@@ -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};
: ^^^^^
`----
Original file line number Diff line number Diff line change
@@ -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}
: ^^^^
`----
Original file line number Diff line number Diff line change
@@ -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 |
: ^
`----
Original file line number Diff line number Diff line change
@@ -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 |
: ^
`----
Original file line number Diff line number Diff line change
@@ -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}>
: ^^^^^^^^^
`----
Original file line number Diff line number Diff line change
@@ -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="
: ^^
`----
Original file line number Diff line number Diff line change
@@ -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>
: ^
`----
Original file line number Diff line number Diff line change
@@ -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>
: ^
`----
Original file line number Diff line number Diff line change
@@ -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></>
: ^
`----

0 comments on commit 565a720

Please sign in to comment.