1
0
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:
Michael Camilleri
2025-12-15 11:27:46 +09:00
parent 9b1194b08a
commit 1e73fa7ec7

View File

@@ -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