diff options
| author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-10-03 19:10:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-03 19:10:53 +0200 |
| commit | 5b097fd7e5224db6de65847a604f5c60a93667a0 (patch) | |
| tree | 7859797288148beca4c609b3cfd83e3cae001c91 /cli/tests/integration | |
| parent | 8e1b2fca59d71d2e6ab404238d7b38975adb3665 (diff) | |
fix(npm): better error is version is specified after subpath (#16131)
Diffstat (limited to 'cli/tests/integration')
| -rw-r--r-- | cli/tests/integration/npm_tests.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cli/tests/integration/npm_tests.rs b/cli/tests/integration/npm_tests.rs index 32ec12656..de3f81674 100644 --- a/cli/tests/integration/npm_tests.rs +++ b/cli/tests/integration/npm_tests.rs @@ -195,6 +195,14 @@ itest!(require_json { http_server: true, }); +itest!(error_version_after_subpath { + args: "run --unstable -A --quiet npm/error_version_after_subpath/main.js", + output: "npm/error_version_after_subpath/main.out", + envs: env_vars(), + http_server: true, + exit_code: 1, +}); + #[test] fn parallel_downloading() { let (out, _err) = util::run_and_collect_output_with_args( |
