diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-11-17 22:46:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-17 22:46:15 -0500 |
commit | c213ad380f349dee1f65e6d9a9f7a8fa669b2af2 (patch) | |
tree | 9265e433c2691bf39c699617b87f755c1d025908 /cli/tests/integration/install_tests.rs | |
parent | 4a2d8c4bbd20cc282b4df42fe5da6414447315e0 (diff) |
chore: combine `TestCommandBuilder` with `DenoCmd` (#21248)
Diffstat (limited to 'cli/tests/integration/install_tests.rs')
-rw-r--r-- | cli/tests/integration/install_tests.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/tests/integration/install_tests.rs b/cli/tests/integration/install_tests.rs index d9a7a4fb6..ae1cb4bf7 100644 --- a/cli/tests/integration/install_tests.rs +++ b/cli/tests/integration/install_tests.rs @@ -83,7 +83,7 @@ fn install_custom_dir_env_var() { context .new_command() - .cwd(util::root_path()) // different cwd + .current_dir(util::root_path()) // different cwd .args("install --check --name echo_test http://localhost:4545/echo.ts") .envs([ ("HOME", temp_dir_str.as_str()), @@ -124,7 +124,7 @@ fn installer_test_local_module_run() { context .new_command() - .cwd(util::root_path()) + .current_dir(util::root_path()) .args_vec([ "install", "--name", @@ -152,7 +152,7 @@ fn installer_test_local_module_run() { let output = context .new_command() .name(&file_path) - .cwd(temp_dir.path()) + .current_dir(temp_dir.path()) .args("foo") .env("PATH", util::target_dir()) .run(); @@ -183,7 +183,7 @@ fn installer_test_remote_module_run() { let output = context .new_command() .name(&bin_file_path) - .cwd(root_dir) + .current_dir(root_dir) .args("foo") .env("PATH", util::target_dir()) .run(); |