summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2019-08-12 02:43:01 +0200
committerRyan Dahl <ry@tinyclouds.org>2019-08-11 18:43:01 -0600
commit9bd473d8ac9228e483bd26028dbe7ba88e971c08 (patch)
treeb960a2e28a7f1c87f97f1b9c2929282480656d8a /tests
parent54982e948e882fbf413e06319f711d85b232026b (diff)
feat: print cache location when no arg in deno info (#2752)
Diffstat (limited to 'tests')
-rw-r--r--tests/022_info_flag_script.out (renamed from tests/022_info_flag.out)0
-rw-r--r--tests/022_info_flag_script.test (renamed from tests/022_info_flag.test)2
-rw-r--r--tests/041_info_flag.out3
-rw-r--r--tests/041_info_flag.test2
4 files changed, 6 insertions, 1 deletions
diff --git a/tests/022_info_flag.out b/tests/022_info_flag_script.out
index 519e7cf6b..519e7cf6b 100644
--- a/tests/022_info_flag.out
+++ b/tests/022_info_flag_script.out
diff --git a/tests/022_info_flag.test b/tests/022_info_flag_script.test
index e58288ec5..ba11b9815 100644
--- a/tests/022_info_flag.test
+++ b/tests/022_info_flag_script.test
@@ -1,4 +1,4 @@
# The output assumes 003_relative_import.ts has already been run earlier
# and its output is cached to $DENO_DIR.
args: info http://127.0.0.1:4545/tests/019_media_types.ts
-output: tests/022_info_flag.out
+output: tests/022_info_flag_script.out
diff --git a/tests/041_info_flag.out b/tests/041_info_flag.out
new file mode 100644
index 000000000..c384fa892
--- /dev/null
+++ b/tests/041_info_flag.out
@@ -0,0 +1,3 @@
+DENO_DIR location: "[WILDCARD]"
+Remote modules cache: "[WILDCARD]deps"
+TypeScript compiler cache: "[WILDCARD]gen"
diff --git a/tests/041_info_flag.test b/tests/041_info_flag.test
new file mode 100644
index 000000000..2cabb652c
--- /dev/null
+++ b/tests/041_info_flag.test
@@ -0,0 +1,2 @@
+args: info
+output: tests/041_info_flag.out