mirror of
https://github.com/janet-lang/janet
synced 2025-10-19 09:47:40 +00:00
Add regression test.
This commit is contained in:
@@ -300,5 +300,8 @@
|
|||||||
(assert (= (length {1 2 3 nil}) 1) "nil value struct literal")
|
(assert (= (length {1 2 3 nil}) 1) "nil value struct literal")
|
||||||
(assert (= (length @{1 2 3 nil}) 1) "nil value table literal")
|
(assert (= (length @{1 2 3 nil}) 1) "nil value table literal")
|
||||||
|
|
||||||
|
# Regression Test
|
||||||
|
(assert (= 1 (((compile '(fn [] 1) @{})))) "regression test")
|
||||||
|
|
||||||
(end-suite)
|
(end-suite)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user