diff options
Diffstat (limited to 'cli/tests')
-rw-r--r-- | cli/tests/error_syntax.js.out | 2 | ||||
-rw-r--r-- | cli/tests/lint/expected_json.out | 2 | ||||
-rw-r--r-- | cli/tests/swc_syntax_error.ts.out | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/error_syntax.js.out b/cli/tests/error_syntax.js.out index 107bc1df0..d458bae49 100644 --- a/cli/tests/error_syntax.js.out +++ b/cli/tests/error_syntax.js.out @@ -1 +1 @@ -error: Expected Comma, got Some(Word(following)) at [WILDCARD]tests/error_syntax.js:3:5 +error: Expected ,, got following at [WILDCARD]tests/error_syntax.js:3:5 diff --git a/cli/tests/lint/expected_json.out b/cli/tests/lint/expected_json.out index b4ce63395..8d2e83bb7 100644 --- a/cli/tests/lint/expected_json.out +++ b/cli/tests/lint/expected_json.out @@ -37,7 +37,7 @@ "errors": [ { "file_path": "[WILDCARD]malformed.js", - "message": "Expected RBrace, got None at [WILDCARD]malformed.js:4:15" + "message": "Expected }, got <eof> at [WILDCARD]malformed.js:4:15" } ] } diff --git a/cli/tests/swc_syntax_error.ts.out b/cli/tests/swc_syntax_error.ts.out index 0cc365e20..53ed29cb6 100644 --- a/cli/tests/swc_syntax_error.ts.out +++ b/cli/tests/swc_syntax_error.ts.out @@ -1 +1 @@ -error: Unexpected token Some(RBrace) at [WILDCARD]syntax_error.ts:4:0 +error: Unexpected token `}`. Expected an identifier, void, yield, null, await, break, a string literal, a numeric literal, true, false, `, -, import, this, typeof, {, [, ( at [WILDCARD]syntax_error.ts:4:0 |