aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorCalvin Rose <calsrose@gmail.com>2024-05-19 09:53:14 -0500
committerCalvin Rose <calsrose@gmail.com>2024-05-19 09:53:14 -0500
commit751ff677fe77986e69a352d64fd1d64e26e22fb1 (patch)
tree7dbe416c4ad87de5aef61f28d77f758701d006c0 /test
parentKeep track of hooks and simple dependency tracking. (diff)
parentAdd ev/with-*lock macros. (diff)
Merge branch 'master' into bundle-tools
Diffstat (limited to 'test')
-rw-r--r--test/suite-boot.janet3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/suite-boot.janet b/test/suite-boot.janet
index 89fb0076..b412c52d 100644
--- a/test/suite-boot.janet
+++ b/test/suite-boot.janet
@@ -976,4 +976,7 @@
(assert (= () '() (macex '())) "macex ()")
(assert (= '[] (macex '[])) "macex []")
+(assert (= :a (with-env @{:b :a} (dyn :b))) "with-env dyn")
+(assert-error "unknown symbol +" (with-env @{} (eval '(+ 1 2))))
+
(end-suite)