From caff550b6c6edf7f26ca9e2aa57e042479c36704 Mon Sep 17 00:00:00 2001 From: Akshat Agarwal Date: Tue, 7 Apr 2020 20:54:47 +0530 Subject: BREAKING: Rename 'deno fetch' subcommand to 'deno cache' (#4656) --- cli/tests/integration_tests.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cli/tests/integration_tests.rs') 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()) -- cgit v1.2.3