summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-03-11 11:45:36 -0400
committerGitHub <noreply@github.com>2024-03-11 11:45:36 -0400
commit670e9a9be78e15c2800541aeba62d7cba6a4d58d (patch)
treedc2e2d617b1527ae8d4d6803bd5a9efa77b9c6d0
parent644ac0fe4331333b994b34780f8207278ad733ff (diff)
chore: fix child_process test (#22845)
This was failing in old versions of git.
-rw-r--r--tests/unit_node/child_process_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_node/child_process_test.ts b/tests/unit_node/child_process_test.ts
index 60c646a21..36d9d4345 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<void>();
CP.execFile(
"git",
- ["-v"],
+ ["--version"],
{ timeout: undefined, encoding: "utf8" },
(err) => {
if (err) {