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.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs
index 437214dcc..02c46840e 100644
--- a/cli/tests/integration_tests.rs
+++ b/cli/tests/integration_tests.rs
@@ -1302,6 +1302,13 @@ itest!(error_syntax {
output: "error_syntax.js.out",
});
+itest!(error_syntax_empty_trailing_line {
+ args: "run --reload error_syntax_empty_trailing_line.mjs",
+ check_stderr: true,
+ exit_code: 1,
+ output: "error_syntax_empty_trailing_line.mjs.out",
+});
+
itest!(error_type_definitions {
args: "run --reload error_type_definitions.ts",
check_stderr: true,