From 9d706d71b55ca254d1bbd87754533a60142d2a6a Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 10 Jun 2021 12:35:38 -0400 Subject: chore: Fix broken test on Windows (#10900) --- cli/tests/089_run_allow_list.ts | 2 +- cli/tests/integration_tests.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cli') diff --git a/cli/tests/089_run_allow_list.ts b/cli/tests/089_run_allow_list.ts index 85c1730a1..defb3196f 100644 --- a/cli/tests/089_run_allow_list.ts +++ b/cli/tests/089_run_allow_list.ts @@ -7,7 +7,7 @@ try { } const proc = Deno.run({ - cmd: ["cat", "089_run_allow_list.ts"], + cmd: ["curl", "--help"], stdout: "null", }); console.log((await proc.status()).success); diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index 261ba30a9..ede2b5542 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -3115,7 +3115,7 @@ console.log("finish"); }); itest!(_089_run_allow_list { - args: "run --allow-run=cat 089_run_allow_list.ts", + args: "run --allow-run=curl 089_run_allow_list.ts", output: "089_run_allow_list.ts.out", }); -- cgit v1.2.3