summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/fmt/parse_error/parse_error.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-06-18 12:44:43 -0400
committerGitHub <noreply@github.com>2022-06-18 12:44:43 -0400
commitf564497630d8d12023cd093904bf237ab1079a94 (patch)
tree1c14d4e641e739fdf99cf4a16d45db35c1da515f /cli/tests/testdata/fmt/parse_error/parse_error.ts
parentfa7cad06de648a7e35995b9a366ae2cee3b3bc4f (diff)
fix(fmt): should fail `--check` on parse error (#14907)
Diffstat (limited to 'cli/tests/testdata/fmt/parse_error/parse_error.ts')
-rw-r--r--cli/tests/testdata/fmt/parse_error/parse_error.ts2
1 files changed, 2 insertions, 0 deletions
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