diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-05-07 15:57:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-07 15:57:10 +0200 |
commit | 0ba90c8c11089500b23761f126a8d08afd38a73e (patch) | |
tree | 593af7487ba351c16869b3e6eef0141be1d43adf /cli/tests/integration_tests.rs | |
parent | dabe88f854b7cc04518c5ff75c55fa437360a91f (diff) |
fix(imports): fix panic on unsupported scheme (#5131)
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r-- | cli/tests/integration_tests.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index ff3777626..b549dc6d0 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -1583,6 +1583,13 @@ itest!(run_v8_help { output: "v8_help.out", }); +itest!(unsupported_dynamic_import_scheme { + args: "eval import('xxx:')", + output: "unsupported_dynamic_import_scheme.out", + check_stderr: true, + exit_code: 1, +}); + itest!(wasm { args: "run wasm.ts", output: "wasm.ts.out", |