summaryrefslogtreecommitdiff
path: root/cli/tests/run_tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/run_tests.rs')
-rw-r--r--cli/tests/run_tests.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/run_tests.rs b/cli/tests/run_tests.rs
index 6cae9d9e3..6196f641d 100644
--- a/cli/tests/run_tests.rs
+++ b/cli/tests/run_tests.rs
@@ -2505,7 +2505,7 @@ mod run {
.unwrap();
assert!(status.success());
std::fs::write(&mod1_path, "export { foo } from \"./mod2.ts\";").unwrap();
- std::fs::write(&mod2_path, "(").unwrap();
+ std::fs::write(mod2_path, "(").unwrap();
let status = deno_cmd
.current_dir(util::testdata_path())
.arg("run")
@@ -2528,7 +2528,7 @@ mod run {
let mut deno_cmd = util::deno_cmd();
// With a fresh `DENO_DIR`, run a module with a dependency and a type error.
std::fs::write(&mod1_path, "import './mod2.ts'; Deno.exit('0');").unwrap();
- std::fs::write(&mod2_path, "console.log('Hello, world!');").unwrap();
+ std::fs::write(mod2_path, "console.log('Hello, world!');").unwrap();
let status = deno_cmd
.current_dir(util::testdata_path())
.arg("run")
@@ -2969,7 +2969,7 @@ mod run {
assert!(output.status.success());
let prg = util::deno_exe_path();
- let output = Command::new(&prg)
+ let output = Command::new(prg)
.env("DENO_DIR", deno_dir.path())
.env("HTTP_PROXY", "http://nil")
.env("NO_COLOR", "1")