diff options
| author | 2024-05-19 09:53:14 -0500 | |
|---|---|---|
| committer | 2024-05-19 09:53:14 -0500 | |
| commit | 751ff677fe77986e69a352d64fd1d64e26e22fb1 (patch) | |
| tree | 7dbe416c4ad87de5aef61f28d77f758701d006c0 /test | |
| parent | Keep track of hooks and simple dependency tracking. (diff) | |
| parent | Add ev/with-*lock macros. (diff) | |
Merge branch 'master' into bundle-tools
Diffstat (limited to 'test')
| -rw-r--r-- | test/suite-boot.janet | 3 |
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) |
