summaryrefslogtreecommitdiff
path: root/cli/tests/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata')
-rw-r--r--cli/tests/testdata/lint/expected_json.out2
-rw-r--r--cli/tests/testdata/lint/without_config/malformed.js2
2 files changed, 2 insertions, 2 deletions
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 '<eof>' 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