New modules.
WrenCI / linux (push) Waiting to run
WrenCI / mac (push) Waiting to run
WrenCI / windows (push) Waiting to run

This commit is contained in:
2026-01-24 19:35:43 +01:00
parent 1a08b3adf0
commit 236d69c2d7
118 changed files with 315687 additions and 6 deletions
+19
View File
@@ -0,0 +1,19 @@
import "env" for Environment
Environment.set("WREN_TEST_VAR", "hello")
System.print(Environment.get("WREN_TEST_VAR")) // expect: hello
Environment.set("WREN_TEST_VAR", "world")
System.print(Environment.get("WREN_TEST_VAR")) // expect: world
Environment.delete("WREN_TEST_VAR")
System.print(Environment.get("WREN_TEST_VAR") == null) // expect: true
System.print(Environment.get("THIS_VAR_DOES_NOT_EXIST") == null) // expect: true
var home = Environment.get("HOME")
System.print(home != null) // expect: true
var all = Environment.all
System.print(all is Map) // expect: true
System.print(all.count > 0) // expect: true