From 670e9a9be78e15c2800541aeba62d7cba6a4d58d Mon Sep 17 00:00:00 2001 From: David Sherret Date: Mon, 11 Mar 2024 11:45:36 -0400 Subject: [PATCH] chore: fix child_process test (#22845) This was failing in old versions of git. --- tests/unit_node/child_process_test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit_node/child_process_test.ts b/tests/unit_node/child_process_test.ts index 60c646a214..36d9d4345e 100644 --- a/tests/unit_node/child_process_test.ts +++ b/tests/unit_node/child_process_test.ts @@ -786,7 +786,7 @@ Deno.test(async function execFileWithUndefinedTimeout() { const { promise, resolve, reject } = Promise.withResolvers(); CP.execFile( "git", - ["-v"], + ["--version"], { timeout: undefined, encoding: "utf8" }, (err) => { if (err) {