From a4c1e1bdcf3bd295d624c266278670e08227b26b Mon Sep 17 00:00:00 2001 From: David Sherret Date: Fri, 8 Apr 2022 12:31:47 -0400 Subject: fix: upgrade to swc_ecmascript 0.143 (#14238) --- cli/tests/testdata/lint/expected_json.out | 2 +- cli/tests/testdata/lint/without_config/malformed.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/tests/testdata/lint') diff --git a/cli/tests/testdata/lint/expected_json.out b/cli/tests/testdata/lint/expected_json.out index 876aec9e0..61680607c 100644 --- a/cli/tests/testdata/lint/expected_json.out +++ b/cli/tests/testdata/lint/expected_json.out @@ -58,7 +58,7 @@ "errors": [ { "file_path": "[WILDCARD]malformed.js", - "message": "Expected '}', got '' at [WILDCARD]malformed.js:4:16" + "message": "Expected '{', got 'B' at [WILDCARD]malformed.js:4:16" } ] } diff --git a/cli/tests/testdata/lint/without_config/malformed.js b/cli/tests/testdata/lint/without_config/malformed.js index 5ad4650d6..9b64da898 100644 --- a/cli/tests/testdata/lint/without_config/malformed.js +++ b/cli/tests/testdata/lint/without_config/malformed.js @@ -1,4 +1,4 @@ // deno-fmt-ignore-file // intentionally malformed file -export class A { \ No newline at end of file +export class A B C \ No newline at end of file -- cgit v1.2.3