diff options
author | Kevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com> | 2020-03-24 20:53:48 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-24 23:53:48 -0400 |
commit | 3d228f5f9ec729d1b027588ccf36987c82f53516 (patch) | |
tree | df7bc53204d8eef5df25875bb0eeb3b8d9182e3a /cli/tests/integration_tests.rs | |
parent | addfdc4cd0ffa0e0f6b284379c8873a202af7d5b (diff) |
hide source line if error message longer than 150 chars (#4487)
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r-- | cli/tests/integration_tests.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index ed5160565..437214dcc 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -1274,6 +1274,20 @@ itest!(error_016_dynamic_import_permissions2 { http_server: true, }); +itest!(error_017_hide_long_source_ts { + args: "--reload error_017_hide_long_source_ts.ts", + output: "error_017_hide_long_source_ts.ts.out", + check_stderr: true, + exit_code: 1, +}); + +itest!(error_018_hide_long_source_js { + args: "error_018_hide_long_source_js.js", + output: "error_018_hide_long_source_js.js.out", + check_stderr: true, + exit_code: 1, +}); + itest!(error_stack { args: "run --reload error_stack.ts", check_stderr: true, |