mirror of
https://github.com/janet-lang/janet
synced 2026-01-02 05:09:05 +00:00
Add special case for expected error on MinGW
This commit is contained in:
@@ -144,8 +144,10 @@
|
||||
"os/execute with env")
|
||||
|
||||
# os/execute with empty environment
|
||||
(assert (= 0 (os/execute [;run janet "-e" "(+ 1 2 3)"] :pe {}))
|
||||
"os/execute with empty env")
|
||||
# pr #1686
|
||||
(assert (= (if (= :mingw (os/which)) -1073741515 0) # MinGW can't find DLLs
|
||||
(os/execute [;run janet "-e" "(+ 1 2 3)"] :pe {}))
|
||||
"os/execute with minimal env")
|
||||
|
||||
# os/execute regressions
|
||||
# 427f7c362
|
||||
|
||||
Reference in New Issue
Block a user