summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/045_proxy_test.ts2
-rw-r--r--cli/tests/integration_tests.rs8
-rw-r--r--cli/tests/lock_write_fetch.ts4
3 files changed, 7 insertions, 7 deletions
diff --git a/cli/tests/045_proxy_test.ts b/cli/tests/045_proxy_test.ts
index 6f8b45fd1..d9d63ea52 100644
--- a/cli/tests/045_proxy_test.ts
+++ b/cli/tests/045_proxy_test.ts
@@ -41,7 +41,7 @@ async function testModuleDownload(): Promise<void> {
cmd: [
Deno.execPath(),
"--reload",
- "fetch",
+ "cache",
"http://localhost:4545/std/examples/colors.ts",
],
stdout: "piped",
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs
index c22d1cfd2..31a4a9c66 100644
--- a/cli/tests/integration_tests.rs
+++ b/cli/tests/integration_tests.rs
@@ -96,7 +96,7 @@ fn fetch_test() {
let output = Command::new(deno_exe_path())
.env("DENO_DIR", deno_dir.path())
.current_dir(util::root_path())
- .arg("fetch")
+ .arg("cache")
.arg(module_url.to_string())
.output()
.expect("Failed to spawn script");
@@ -1031,12 +1031,12 @@ itest_ignore!(_035_cached_only_flag {
itest!(_036_import_map_fetch {
args:
- "fetch --reload --importmap=importmaps/import_map.json importmaps/test.ts",
+ "cache --reload --importmap=importmaps/import_map.json importmaps/test.ts",
output: "036_import_map_fetch.out",
});
itest!(_037_fetch_multiple {
- args: "fetch --reload fetch/test.ts fetch/other.ts",
+ args: "cache --reload fetch/test.ts fetch/other.ts",
check_stderr: true,
http_server: true,
output: "037_fetch_multiple.out",
@@ -1591,7 +1591,7 @@ fn cafile_fetch() {
let output = Command::new(deno_exe_path())
.env("DENO_DIR", deno_dir.path())
.current_dir(util::root_path())
- .arg("fetch")
+ .arg("cache")
.arg("--cert")
.arg(cafile)
.arg(module_url.to_string())
diff --git a/cli/tests/lock_write_fetch.ts b/cli/tests/lock_write_fetch.ts
index 2e9735313..2286d7a0c 100644
--- a/cli/tests/lock_write_fetch.ts
+++ b/cli/tests/lock_write_fetch.ts
@@ -7,7 +7,7 @@ const fetchProc = Deno.run({
stderr: "null",
cmd: [
Deno.execPath(),
- "fetch",
+ "cache",
"--reload",
"--lock=lock_write_fetch.json",
"--lock-write",
@@ -23,7 +23,7 @@ const fetchCheckProc = Deno.run({
stderr: "null",
cmd: [
Deno.execPath(),
- "fetch",
+ "cache",
"--lock=lock_write_fetch.json",
"https_import.ts",
],