1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-18 17:27:40 +00:00

Add :mingw value when getting the OS setting when compiled with mingw.

This commit is contained in:
bakpakin
2023-01-21 11:50:03 -06:00
parent 8ee5942481
commit a490937cd9
4 changed files with 18 additions and 2 deletions

View File

@@ -144,7 +144,7 @@
(assert (< 1000 1e23) "greater than immediate 2")
# os/execute with environment variables
(assert (= 0 (os/execute [(dyn :executable) "-e" "(+ 1 2 3)"] :pe {"HELLO" "WORLD"})) "os/execute with env")
(assert (= 0 (os/execute [(dyn :executable) "-e" "(+ 1 2 3)"] :pe (merge (os/environ) {"HELLO" "WORLD"}))) "os/execute with env")
# Regression #638
(compwhen