From f6a9d7d7172df6422f895dcfe6f4267ad1b472da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Fri, 3 May 2019 23:15:16 +0200 Subject: add "deno run" subcommand (#2215) --- tools/test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/test.py') diff --git a/tools/test.py b/tools/test.py index e4914ae50..2a59a0c87 100755 --- a/tools/test.py +++ b/tools/test.py @@ -30,16 +30,16 @@ def test_no_color(deno_exe): sys.stdout.write("no_color test...") sys.stdout.flush() t = os.path.join(tests_path, "no_color.js") - output = run_output([deno_exe, t], merge_env={"NO_COLOR": "1"}) + output = run_output([deno_exe, "run", t], merge_env={"NO_COLOR": "1"}) assert output.strip() == "noColor true" t = os.path.join(tests_path, "no_color.js") - output = run_output([deno_exe, t]) + output = run_output([deno_exe, "run", t]) assert output.strip() == "noColor false" print green_ok() def exec_path_test(deno_exe): - cmd = [deno_exe, "tests/exec_path.ts"] + cmd = [deno_exe, "run", "tests/exec_path.ts"] output = run_output(cmd) assert deno_exe in output.strip() -- cgit v1.2.3