From 947243fcd94278274c8ed61e9ef3dc412a0af552 Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Tue, 3 Oct 2023 19:29:33 +0530 Subject: [PATCH] fix(tests): possibly fix failing spawn test on windows (x2) --- tests/process/spawn.luau | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/process/spawn.luau b/tests/process/spawn.luau index 26c7c74..8f3dd77 100644 --- a/tests/process/spawn.luau +++ b/tests/process/spawn.luau @@ -163,9 +163,9 @@ assert( -- Passing stdin strings should work local stdinChild = process.spawn((((not IS_WINDOWS) and "xargs") or "powershell"), { - "echo", + "echo", }, { - stdin = echoMessage, + stdin = (IS_WINDOWS and (echoMessage .. "\n\n")) or echoMessage, }) assert(