change test framework to use files for in and out (s-exp)
This commit is contained in:
4
test/cases/return/return_int.tst
Normal file
4
test/cases/return/return_int.tst
Normal file
@ -0,0 +1,4 @@
|
||||
return 42
|
||||
-- -- --
|
||||
s(:list, [s(:return,
|
||||
s(:int, 42))])
|
4
test/cases/return/return_string.tst
Normal file
4
test/cases/return/return_string.tst
Normal file
@ -0,0 +1,4 @@
|
||||
return "hello"
|
||||
-- -- --
|
||||
s(:list, [s(:return,
|
||||
s(:string, "hello"))])
|
4
test/cases/return/return_variable.tst
Normal file
4
test/cases/return/return_variable.tst
Normal file
@ -0,0 +1,4 @@
|
||||
return foo
|
||||
-- -- --
|
||||
s(:list, [s(:return,
|
||||
s(:name, "foo"))])
|
Reference in New Issue
Block a user