Skip to content

Commit

Permalink
chore(tests): stream test on windows should redir stdout to stderr no…
Browse files Browse the repository at this point in the history
…t other way around
  • Loading branch information
CompeyDev committed Jun 10, 2024
1 parent 968a9b4 commit 70583c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/process/spawn/stream.luau
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ assert(
)

local echoChild = if process.os == "windows"
then process.spawn("echo", { msg, "2>&1" }, { shell = "cmd" })
then process.spawn("echo", { msg, "1>&2" }, { shell = "cmd" })
else process.spawn("echo", { msg, ">>/dev/stderr" }, { shell = true })

assert(
Expand Down

0 comments on commit 70583c6

Please sign in to comment.