mirror of
https://github.com/lune-org/lune.git
synced 2025-04-08 04:20:54 +01:00
chore(tests): fix stream test for windows
This commit is contained in:
parent
2a4c610b6f
commit
968a9b4f80
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("Write-Error", { msg }, { shell = "powershell" })
|
then process.spawn("echo", { msg, "2>&1" }, { 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