summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2019-07-20 15:19:06 +0200
committerRyan Dahl <ry@tinyclouds.org>2019-07-20 09:19:06 -0400
commit34f212f257af3ccce4a1cb8e9b75b9cb5cb1c13b (patch)
tree81ed74790a22b2d665a4b70ae0c3fe4d07cd61bd /tests
parenta00d087b39da7894276c2292335d2709a6cebd8c (diff)
fix: bring back --no-fetch flag (#2671)
Diffstat (limited to 'tests')
-rw-r--r--tests/035_no_fetch_flag.out1
-rw-r--r--tests/035_no_fetch_flag.test4
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/035_no_fetch_flag.out b/tests/035_no_fetch_flag.out
new file mode 100644
index 000000000..7b5fdd44f
--- /dev/null
+++ b/tests/035_no_fetch_flag.out
@@ -0,0 +1 @@
+success true true true true true true true true
diff --git a/tests/035_no_fetch_flag.test b/tests/035_no_fetch_flag.test
new file mode 100644
index 000000000..c71e88e0c
--- /dev/null
+++ b/tests/035_no_fetch_flag.test
@@ -0,0 +1,4 @@
+# The output assumes 003_relative_import.ts has already been run earlier
+# and its output is cached to $DENO_DIR.
+args: --no-fetch http://127.0.0.1:4545/tests/019_media_types.ts
+output: tests/035_no_fetch_flag.out