summaryrefslogtreecommitdiff
path: root/cli/tests/integration_tests.rs
diff options
context:
space:
mode:
authorAkshat Agarwal <humancalico@disroot.org>2020-04-07 20:54:47 +0530
committerGitHub <noreply@github.com>2020-04-07 11:24:47 -0400
commitcaff550b6c6edf7f26ca9e2aa57e042479c36704 (patch)
treea5f6ed78002cbbf40b9bf35962ef45fa5f793ccc /cli/tests/integration_tests.rs
parent62726430bedba7cca4d98e7714f3a8b49db3e89e (diff)
BREAKING: Rename 'deno fetch' subcommand to 'deno cache' (#4656)
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r--cli/tests/integration_tests.rs8
1 files changed, 4 insertions, 4 deletions
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())