change test framework to use files for in and out (s-exp)
This commit is contained in:
3
test/cases/basic/module_name.tst
Normal file
3
test/cases/basic/module_name.tst
Normal file
@ -0,0 +1,3 @@
|
||||
FooBar
|
||||
-- -- --
|
||||
s(:list, [s(:module, "FooBar")])
|
3
test/cases/basic/name.tst
Normal file
3
test/cases/basic/name.tst
Normal file
@ -0,0 +1,3 @@
|
||||
foo
|
||||
-- -- --
|
||||
s(:list, [s(:name, "foo")])
|
3
test/cases/basic/name_underscode_middle.tst
Normal file
3
test/cases/basic/name_underscode_middle.tst
Normal file
@ -0,0 +1,3 @@
|
||||
foo_bar
|
||||
-- -- --
|
||||
s(:list, [s(:name, "foo_bar")])
|
3
test/cases/basic/name_underscode_start.tst
Normal file
3
test/cases/basic/name_underscode_start.tst
Normal file
@ -0,0 +1,3 @@
|
||||
_bar
|
||||
-- -- --
|
||||
s(:list, [s(:name, "_bar")])
|
3
test/cases/basic/number.tst
Normal file
3
test/cases/basic/number.tst
Normal file
@ -0,0 +1,3 @@
|
||||
42
|
||||
-- -- --
|
||||
s(:list, [s(:int, 42)])
|
3
test/cases/basic/string.tst
Normal file
3
test/cases/basic/string.tst
Normal file
@ -0,0 +1,3 @@
|
||||
"hello"
|
||||
-- -- --
|
||||
s(:list, [s(:string, "hello")])
|
3
test/cases/basic/string_escapes.tst
Normal file
3
test/cases/basic/string_escapes.tst
Normal file
@ -0,0 +1,3 @@
|
||||
"hello \nyou"
|
||||
-- -- --
|
||||
s(:list, [s(:string, "hello \\nyou")])
|
Reference in New Issue
Block a user