diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2019-05-03 23:15:16 +0200 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-05-03 17:15:16 -0400 |
commit | f6a9d7d7172df6422f895dcfe6f4267ad1b472da (patch) | |
tree | 086a9e3e75e7597f2d456c26749d9d9d64e51990 /tools/test.py | |
parent | 36081171323e266760db8bed2f31a6e3be7d8839 (diff) |
add "deno run" subcommand (#2215)
Diffstat (limited to 'tools/test.py')
-rwxr-xr-x | tools/test.py | 6 |
1 files changed, 3 insertions, 3 deletions
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() |