mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 20:29:11 +00:00
fix: normalize Deno.execPath (#2598)
This commit is contained in:
parent
1068b4848c
commit
9d18f97327
2 changed files with 10 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue