diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2020-05-01 20:33:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-01 15:33:11 -0400 |
commit | 96fd0f4692126516239d61784caf6599aa884844 (patch) | |
tree | 8ebeafc5562297104390da4d0c159940006fc28f /cli/tests/integration_tests.rs | |
parent | 6661e7e287aa595eccdc8d49940c40953b1f69bc (diff) |
BREAKING: feat(cli/installer): Support guessing the executable name (#5036)
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r-- | cli/tests/integration_tests.rs | 9 |
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() |