From f564497630d8d12023cd093904bf237ab1079a94 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Sat, 18 Jun 2022 12:44:43 -0400 Subject: fix(fmt): should fail `--check` on parse error (#14907) --- cli/tests/testdata/fmt/parse_error/parse_error.ts | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 cli/tests/testdata/fmt/parse_error/parse_error.ts (limited to 'cli/tests/testdata/fmt/parse_error') 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 -- cgit v1.2.3