summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2019-04-25 19:47:33 +0200
committerRyan Dahl <ry@tinyclouds.org>2019-04-25 13:47:33 -0400
commitb7d8a0c6f6e90a65243264faa3f702d1a9471090 (patch)
tree0f1429e5ba36698179b7d24a21642e11e4e83d50 /tools
parent098d6fffabb85d102b3662dacf3173c47e551d34 (diff)
Rename deno prefetch to deno fetch (#2210)
Diffstat (limited to 'tools')
-rwxr-xr-xtools/fetch_test.py (renamed from tools/prefetch_test.py)8
-rwxr-xr-xtools/test.py4
2 files changed, 6 insertions, 6 deletions
diff --git a/tools/prefetch_test.py b/tools/fetch_test.py
index 9c671dc00..9ecb6fff4 100755
--- a/tools/prefetch_test.py
+++ b/tools/fetch_test.py
@@ -6,14 +6,14 @@ from util import mkdtemp, tests_path, run_output, green_ok
import shutil
-def prefetch_test(deno_exe):
- sys.stdout.write("prefetch_test...")
+def fetch_test(deno_exe):
+ sys.stdout.write("fetch_test...")
sys.stdout.flush()
deno_dir = mkdtemp()
try:
t = os.path.join(tests_path, "006_url_imports.ts")
- output = run_output([deno_exe, "prefetch", t],
+ output = run_output([deno_exe, "fetch", t],
merge_env={"DENO_DIR": deno_dir})
assert output == ""
# Check that we actually did the prefetch.
@@ -27,4 +27,4 @@ def prefetch_test(deno_exe):
if __name__ == "__main__":
- prefetch_test(sys.argv[1])
+ fetch_test(sys.argv[1])
diff --git a/tools/test.py b/tools/test.py
index 770c9ca8c..7fddfc2ff 100755
--- a/tools/test.py
+++ b/tools/test.py
@@ -13,7 +13,7 @@ from unit_tests import unit_tests
from util_test import util_test
from benchmark_test import benchmark_test
from repl_test import repl_tests
-from prefetch_test import prefetch_test
+from fetch_test import fetch_test
from fmt_test import fmt_test
import subprocess
import http_server
@@ -94,7 +94,7 @@ def main(argv):
unit_tests(deno_exe)
- prefetch_test(deno_exe)
+ fetch_test(deno_exe)
fmt_test(deno_exe)
integration_tests(deno_exe)