summaryrefslogtreecommitdiff
path: root/cli/tests/integration_tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r--cli/tests/integration_tests.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs
index 36e2bc90b..db2773150 100644
--- a/cli/tests/integration_tests.rs
+++ b/cli/tests/integration_tests.rs
@@ -1539,6 +1539,12 @@ itest!(bundle {
output: "bundle.test.out",
});
+itest!(fmt_check_tests_dir {
+ args: "fmt --check ./",
+ output: "fmt_check_tests_dir.out",
+ exit_code: 1,
+});
+
itest!(fmt_stdin {
args: "fmt -",
input: Some("const a = 1\n"),