Add unit tests for multiline and inner outer loops

This commit is contained in:
Jonathan Turner
2009-09-21 17:31:10 +00:00
parent 9528e44b88
commit 33897e2c0f
2 changed files with 9 additions and 0 deletions

7
unittests/multiline.chai Normal file
View File

@@ -0,0 +1,7 @@
var x = [1, 2,
3, 4]
print(x)
print(map(x,
fun(x) { x + 1 }))

2
unittests/multiline.txt Normal file
View File

@@ -0,0 +1,2 @@
[1, 2, 3, 4]
[2, 3, 4, 5]