From 9d18f97327e94ecf6fd0ae7b75a88abfeac07d7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sun, 30 Jun 2019 19:32:24 +0200 Subject: fix: normalize Deno.execPath (#2598) --- tools/target_test.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/target_test.py b/tools/target_test.py index 98eb4a0eb..58c5d43c7 100644 --- a/tools/target_test.py +++ b/tools/target_test.py @@ -55,8 +55,11 @@ class TestTarget(DenoTestCase): assert result.out.strip() == "noColor false" def test_exec_path(self): - cmd = [self.deno_exe, "run", "tests/exec_path.ts"] + cmd = [self.deno_exe, "run", "--allow-run", "tests/exec_path.ts"] result = run_output(cmd, quiet=True) + print "exec_path", result.code + print result.out + print result.err assert self.deno_exe in result.out.strip() self.assertEqual(result.code, 0) -- cgit v1.2.3