summaryrefslogtreecommitdiff
path: root/cli/tests/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata')
-rw-r--r--cli/tests/testdata/fmt/fmt_check_parse_error.out6
-rw-r--r--cli/tests/testdata/fmt/parse_error/parse_error.ts2
2 files changed, 8 insertions, 0 deletions
diff --git a/cli/tests/testdata/fmt/fmt_check_parse_error.out b/cli/tests/testdata/fmt/fmt_check_parse_error.out
new file mode 100644
index 000000000..d9b918af7
--- /dev/null
+++ b/cli/tests/testdata/fmt/fmt_check_parse_error.out
@@ -0,0 +1,6 @@
+Error checking: [WILDCARD]
+ Line 2, column 7: Expected '{', got '<eof>'
+
+ class Test
+ ~~~~
+error: Found 1 not formatted file in 1 file
diff --git a/cli/tests/testdata/fmt/parse_error/parse_error.ts b/cli/tests/testdata/fmt/parse_error/parse_error.ts
new file mode 100644
index 000000000..136d16508
--- /dev/null
+++ b/cli/tests/testdata/fmt/parse_error/parse_error.ts
@@ -0,0 +1,2 @@
+// a file that purposefully will cause an error
+class Test