summary refs log tree commit diff stats
path: root/tests/misc/t21443.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/t21443.nim')
-rw-r--r--tests/misc/t21443.nim6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/misc/t21443.nim b/tests/misc/t21443.nim
new file mode 100644
index 000000000..70413c5b3
--- /dev/null
+++ b/tests/misc/t21443.nim
@@ -0,0 +1,6 @@
+import std/envvars
+
+# bug #19292
+putEnv("NimPutEnvTest", "test")
+# bug #21122
+doAssert getEnv("NimPutEnvTest") == "test"