summaryrefslogtreecommitdiff
path: root/cli/tests/integration/run_tests.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-11-17 22:46:15 -0500
committerGitHub <noreply@github.com>2023-11-17 22:46:15 -0500
commitc213ad380f349dee1f65e6d9a9f7a8fa669b2af2 (patch)
tree9265e433c2691bf39c699617b87f755c1d025908 /cli/tests/integration/run_tests.rs
parent4a2d8c4bbd20cc282b4df42fe5da6414447315e0 (diff)
chore: combine `TestCommandBuilder` with `DenoCmd` (#21248)
Diffstat (limited to 'cli/tests/integration/run_tests.rs')
-rw-r--r--cli/tests/integration/run_tests.rs11
1 files changed, 2 insertions, 9 deletions
diff --git a/cli/tests/integration/run_tests.rs b/cli/tests/integration/run_tests.rs
index 43c893071..be3f74df0 100644
--- a/cli/tests/integration/run_tests.rs
+++ b/cli/tests/integration/run_tests.rs
@@ -908,11 +908,7 @@ fn lock_no_declaration_files() {
.run();
output.assert_matches_file("lockfile/no_dts/main.cache.out");
let lockfile = context.temp_dir().path().join("deno.lock");
- lockfile.assert_matches_file(
- context
- .testdata_path()
- .join("lockfile/no_dts/deno.lock.out"),
- );
+ lockfile.assert_matches_file("lockfile/no_dts/deno.lock.out");
}
#[test]
@@ -2093,10 +2089,7 @@ console.log("executing javascript");
"#;
let mut p = util::deno_cmd()
- .arg("run")
- .args(["--ext", "js"])
- .arg("--check")
- .arg("-")
+ .args("run --ext js --check -")
.stdin(std::process::Stdio::piped())
.stdout_piped()
.spawn()