diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-09-05 12:51:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-05 13:51:37 +0200 |
commit | 5319b85f14d919c8a3f390a8db53c95922f1cf8d (patch) | |
tree | 5bc4c51e7034cc4bfcac2da9c2c8899dcdaa15f1 /tests/integration | |
parent | 7d95c5c062c7d836bab912e95587bf7fa52326c4 (diff) |
feat(uninstall): alias to 'deno remove' if -g flag missing (#25461)
Close https://github.com/denoland/deno/issues/25457
Diffstat (limited to 'tests/integration')
-rw-r--r-- | tests/integration/install_tests.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/integration/install_tests.rs b/tests/integration/install_tests.rs index 7d671e020..2c7725443 100644 --- a/tests/integration/install_tests.rs +++ b/tests/integration/install_tests.rs @@ -62,7 +62,7 @@ fn install_basic() { // now uninstall context .new_command() - .args("uninstall echo_test") + .args("uninstall -g echo_test") .envs([ ("HOME", temp_dir_str.as_str()), ("USERPROFILE", temp_dir_str.as_str()), @@ -139,7 +139,7 @@ fn install_basic_global() { // now uninstall context .new_command() - .args("uninstall echo_test") + .args("uninstall -g echo_test") .envs([ ("HOME", temp_dir_str.as_str()), ("USERPROFILE", temp_dir_str.as_str()), @@ -274,7 +274,7 @@ fn installer_test_remote_module_run() { // now uninstall with the relative path context .new_command() - .args("uninstall --root ./root echo_test") + .args("uninstall -g --root ./root echo_test") .run() .skip_output_check() .assert_exit_code(0); |