fixes #19292; fixes #21122; fixes putEnv and setEnv with vcc (#21143)

* fixes #19292; fixes 21122; fixes putEnv and setEnv with vcc

* add a test
This commit is contained in:
ringabout
2022-12-21 03:26:32 +08:00
committed by GitHub
parent 40b5c4c4c3
commit 0aec095b26
3 changed files with 25 additions and 15 deletions

6
tests/misc/t21443.nim Normal file
View File

@@ -0,0 +1,6 @@
import std/envvars
# bug #19292
putEnv("NimPutEnvTest", "test")
# bug #21122
doAssert getEnv("NimPutEnvTest") == "test"