1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-19 07:04:48 +00:00

Add regression test.

This commit is contained in:
Calvin Rose 2019-05-20 09:20:50 -04:00
parent 55d8e8b56b
commit 0378ba78cc

View File

@ -300,5 +300,8 @@
(assert (= (length {1 2 3 nil}) 1) "nil value struct literal")
(assert (= (length @{1 2 3 nil}) 1) "nil value table literal")
# Regression Test
(assert (= 1 (((compile '(fn [] 1) @{})))) "regression test")
(end-suite)