From 0378ba78cc4d79b8f450a5aa79ad28381b7772b2 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Mon, 20 May 2019 09:20:50 -0400 Subject: [PATCH] Add regression test. --- test/suite0.janet | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/suite0.janet b/test/suite0.janet index 32bc58b6..00b2ee39 100644 --- a/test/suite0.janet +++ b/test/suite0.janet @@ -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)