diff options
Diffstat (limited to 'examples/test.ts')
-rw-r--r-- | examples/test.ts | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/test.ts b/examples/test.ts index 8158763be..542a191bf 100644 --- a/examples/test.ts +++ b/examples/test.ts @@ -15,7 +15,13 @@ test(function t2(): void { /** A more complicated test that runs a subprocess. */ test(async function catSmoke(): Promise<void> { const p = run({ - args: ["deno", "run", "--allow-read", "examples/cat.ts", "README.md"], + args: [ + Deno.execPath, + "run", + "--allow-read", + "examples/cat.ts", + "README.md" + ], stdout: "piped" }); const s = await p.status(); |