diff options
author | Geert-Jan Zwiers <geertjanzwiers@protonmail.com> | 2023-04-06 01:46:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-06 01:46:21 +0200 |
commit | a7e25b812616e1a8a811de281ab73ff55586e4ca (patch) | |
tree | dce27de90ed190a284c04b89dcfcfe2ba863defd /cli/tests/integration/npm_tests.rs | |
parent | 36e8c8dfd759458aa735f79f5cc7cd346c727914 (diff) |
fix(ext/node): json encode binary command name (#18596)
Fixes https://github.com/denoland/deno/issues/18588
Diffstat (limited to 'cli/tests/integration/npm_tests.rs')
-rw-r--r-- | cli/tests/integration/npm_tests.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/tests/integration/npm_tests.rs b/cli/tests/integration/npm_tests.rs index 49095b6df..ba9e1bdde 100644 --- a/cli/tests/integration/npm_tests.rs +++ b/cli/tests/integration/npm_tests.rs @@ -689,6 +689,13 @@ itest!(deno_run_bin_esm { http_server: true, }); +itest!(deno_run_bin_special_chars { + args: "run -A --quiet npm:@denotest/special-chars-in-bin-name/\\foo\" this is a test", + output: "npm/deno_run_special_chars_in_bin_name.out", + envs: env_vars_for_npm_tests(), + http_server: true, +}); + itest!(deno_run_bin_no_ext { args: "run -A --quiet npm:@denotest/bin/cli-no-ext this is a test", output: "npm/deno_run_no_ext.out", |