mirror of
https://github.com/lune-org/lune.git
synced 2025-04-10 21:40:54 +01:00
chore(tests): stream test on windows should redir stdout to stderr not other way around
This commit is contained in:
parent
968a9b4f80
commit
70583c6bf8
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ assert(
|
||||||
)
|
)
|
||||||
|
|
||||||
local echoChild = if process.os == "windows"
|
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 })
|
else process.spawn("echo", { msg, ">>/dev/stderr" }, { shell = true })
|
||||||
|
|
||||||
assert(
|
assert(
|
||||||
|
|
Loading…
Add table
Reference in a new issue