diff options
Diffstat (limited to 'tests/eval')
-rw-r--r-- | tests/eval/buildfile | 16 | ||||
-rw-r--r-- | tests/eval/test.out | 9 |
2 files changed, 25 insertions, 0 deletions
diff --git a/tests/eval/buildfile b/tests/eval/buildfile index 06fb5fb..b1e5350 100644 --- a/tests/eval/buildfile +++ b/tests/eval/buildfile @@ -42,3 +42,19 @@ print "foo equals bar is (foo == bar)" foo = foo print ($foo == foo) print (bar != $foo) + +print ([null]) +print (([null])) +print ([uint64] 01) + +n = [null] +print ($n == [null]) +print ($N == [null]) +print ([null] == [null]) + +print ($n == $N == true) + +n = +print ($n == ) +n = {} +print ($n == "") diff --git a/tests/eval/test.out b/tests/eval/test.out index 599f928..bad003e 100644 --- a/tests/eval/test.out +++ b/tests/eval/test.out @@ -18,3 +18,12 @@ true baz foo equals bar is false true true +[null] +[null] +1 +true +true +true +true +true +true |