summaryrefslogtreecommitdiff
path: root/std/examples/tests/catj_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/examples/tests/catj_test.ts')
-rw-r--r--std/examples/tests/catj_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/examples/tests/catj_test.ts b/std/examples/tests/catj_test.ts
index 53b36bef8..c3eb61f51 100644
--- a/std/examples/tests/catj_test.ts
+++ b/std/examples/tests/catj_test.ts
@@ -77,7 +77,7 @@ Deno.test("[examples/catj] read from stdin", async () => {
function catj(...files: string[]): Deno.Process {
return Deno.run({
- cmd: [Deno.execPath(), "--allow-read", "catj.ts", ...files],
+ cmd: [Deno.execPath(), "run", "--allow-read", "catj.ts", ...files],
cwd: "examples",
stdin: "piped",
stdout: "piped",