change test framework to use files for in and out (s-exp)
This commit is contained in:
16
test/cases/while/while.tst
Normal file
16
test/cases/while/while.tst
Normal file
@@ -0,0 +1,16 @@
|
||||
while(1)
|
||||
tmp = a
|
||||
puts(b)
|
||||
end
|
||||
-- -- --
|
||||
s(:list, [s(:while,
|
||||
s(:condition,
|
||||
s(:int, 1)),
|
||||
s(:expressions,
|
||||
s(:assign,
|
||||
s(:name, "tmp"),
|
||||
s(:name, "a")),
|
||||
s(:call,
|
||||
s(:name, "puts"),
|
||||
s(:arguments,
|
||||
s(:name, "b")))))])
|
Reference in New Issue
Block a user