summaryrefslogtreecommitdiff
path: root/cli/tests/integration_tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r--cli/tests/integration_tests.rs9
1 files changed, 5 insertions, 4 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs
index 66df5a70f..953f92c66 100644
--- a/cli/tests/integration_tests.rs
+++ b/cli/tests/integration_tests.rs
@@ -203,10 +203,10 @@ fn installer_test_local_module_run() {
let local_module_str = local_module.to_string_lossy();
deno::installer::install(
deno::flags::Flags::default(),
- Some(temp_dir.path().to_path_buf()),
- "echo_test",
&local_module_str,
vec!["hello".to_string()],
+ Some("echo_test".to_string()),
+ Some(temp_dir.path().to_path_buf()),
false,
)
.expect("Failed to install");
@@ -241,10 +241,10 @@ fn installer_test_remote_module_run() {
std::fs::create_dir(&bin_dir).unwrap();
deno::installer::install(
deno::flags::Flags::default(),
- Some(temp_dir.path().to_path_buf()),
- "echo_test",
"http://localhost:4545/cli/tests/echo.ts",
vec!["hello".to_string()],
+ Some("echo_test".to_string()),
+ Some(temp_dir.path().to_path_buf()),
false,
)
.expect("Failed to install");
@@ -1712,6 +1712,7 @@ fn cafile_install_remote_module() {
.arg(cafile)
.arg("--root")
.arg(temp_dir.path())
+ .arg("-n")
.arg("echo_test")
.arg("https://localhost:5545/cli/tests/echo.ts")
.output()