mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-27 16:49:31 +00:00
Second test batch and associated fixes
This commit is contained in:
parent
7abb116876
commit
9b7d1e436e
56 changed files with 760 additions and 27 deletions
33
test/results/choice with decorators.ans
Normal file
33
test/results/choice with decorators.ans
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
--# run #--
|
||||
--- choice ---
|
||||
=> | {}"a "|
|
||||
> | {}"b "|
|
||||
--- text ---
|
||||
| {}"-> a"|
|
||||
--- choice ---
|
||||
> | {}"a "|
|
||||
=> | {}"b "|
|
||||
--- text ---
|
||||
| {}"-> b"|
|
||||
--- choice ---
|
||||
=> | {}"b "|
|
||||
--- text ---
|
||||
| {}"-> b"|
|
||||
--- choice ---
|
||||
> | {}"a "|
|
||||
=> | {1:25}"b "|
|
||||
--- text ---
|
||||
| {1:25}"-> b"|
|
||||
--- choice ---
|
||||
=> | {1:3}"b "|
|
||||
--- text ---
|
||||
| {1:3}"-> b"|
|
||||
--- choice ---
|
||||
=> | {1:12}"a "|
|
||||
> | {1:3}"b "|
|
||||
--- text ---
|
||||
| {1:12}"-> a"|
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{}
|
||||
9
test/results/constant variable list.ans
Normal file
9
test/results/constant variable list.ans
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"" {}"*[3]" {}""|
|
||||
--- text ---
|
||||
| {}"" {}"*[3, 52]" {}""|
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
--# run #--
|
||||
--- error ---
|
||||
./state/State.lua:145: [0m[31m[0m[31mtrying to change the value of constant a[0m
|
||||
[0m[31m[0m[31mtrying to change the value of constant a[0m
|
||||
↳ from [4mtest/tests/constant variable.ans:5:3[0m in assignment: [2ma = 52[0m[0m
|
||||
↳ from [4m?[0m in block: [2m::a = 3…[0m
|
||||
--# saved #--
|
||||
|
|
|
|||
11
test/results/constrained variable assignement.ans
Normal file
11
test/results/constrained variable assignement.ans
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"" {}"type(\"kg\", 5)" {}""|
|
||||
--- text ---
|
||||
| {}"" {}"type(\"kg\", 12)" {}""|
|
||||
--- error ---
|
||||
[0m[31m[0m[31mtype check failure for weigh; 32 does not satisfy ($(x) type(x) == t)[0m
|
||||
↳ from [4mtest/tests/constrained variable assignement.ans:9:7[0m in assignment: [2mweigh = 32[0m[0m
|
||||
↳ from [4m?[0m in block: [2m:weigh::is("kg") = type(5, "kg")…[0m
|
||||
--# saved #--
|
||||
{}
|
||||
9
test/results/constrained variable definition.ans
Normal file
9
test/results/constrained variable definition.ans
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"" {}"type(\"kg\", 5)" {}""|
|
||||
--- text ---
|
||||
| {}"" {}"12" {}""|
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{}
|
||||
|
|
@ -1,4 +1,7 @@
|
|||
--# parse error #--
|
||||
--# run #--
|
||||
--- error ---
|
||||
[0m[31m[0m[31ma is already defined in the current scope[0m
|
||||
↳ from [4mtest/tests/define override function.ans:4:4[0m in definition: [2m:a = 2[0m[0m
|
||||
↳ from [4m?[0m in block: [2m:a = ($() _)…[0m
|
||||
↳ from [4m?[0m in block: [2m:a = ($() _)…[0m
|
||||
--# saved #--
|
||||
{}
|
||||
|
|
@ -1,5 +1,8 @@
|
|||
--# parse error #--
|
||||
--# run #--
|
||||
--- error ---
|
||||
[0m[31m[0m[31m[0m[31mcan't add an overload variant to non-overloadable variable a defined in the same scope[0m
|
||||
↳ from [4mtest/tests/define override variable.ans:3:1[0m in definition: [2m:a = ($() _)[0m[0m
|
||||
↳ from [4mtest/tests/define override variable.ans:3:1[0m in attach block: [2m:a = ($() _)…[0m[0m
|
||||
↳ from [4m?[0m in block: [2m:a = 2…[0m
|
||||
↳ from [4m?[0m in block: [2m:a = 2…[0m
|
||||
--# saved #--
|
||||
{}
|
||||
|
|
@ -1,4 +1,7 @@
|
|||
--# parse error #--
|
||||
--# run #--
|
||||
--- error ---
|
||||
[0m[31m[0m[31ma is already defined in the current scope[0m
|
||||
↳ from [4mtest/tests/define override.ans:3:4[0m in definition: [2m:a = 2[0m[0m
|
||||
↳ from [4m?[0m in block: [2m:a = 5…[0m
|
||||
↳ from [4m?[0m in block: [2m:a = 5…[0m
|
||||
--# saved #--
|
||||
{}
|
||||
27
test/results/equality operator.ans
Normal file
27
test/results/equality operator.ans
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"false = " {}"false" {}""|
|
||||
--- text ---
|
||||
| {}"false = " {}"false" {}""|
|
||||
--- text ---
|
||||
| {}"true = " {}"true" {}""|
|
||||
--- text ---
|
||||
| {}"false = " {}"false" {}""|
|
||||
--- text ---
|
||||
| {}"false = " {}"false" {}""|
|
||||
--- text ---
|
||||
| {}"false = " {}"false" {}""|
|
||||
--- text ---
|
||||
| {}"false = " {}"false" {}""|
|
||||
--- text ---
|
||||
| {}"true = " {}"true" {}""|
|
||||
--- text ---
|
||||
| {}"false = " {}"false" {}""|
|
||||
--- text ---
|
||||
| {}"true = " {}"true" {}""|
|
||||
--- text ---
|
||||
| {}"true = " {}"true" {}""|
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{}
|
||||
5
test/results/exported variable.ans
Normal file
5
test/results/exported variable.ans
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
--# run #--
|
||||
--- return ---
|
||||
"ok"
|
||||
--# saved #--
|
||||
{}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
--# run #--
|
||||
--- error ---
|
||||
./state/State.lua:145: [0m[31m[0m[31mcan't call closure ($(a, b) _): expected 2 arguments, received 1[0m
|
||||
[0m[31m[0m[31mcan't call closure ($(a, b) _): expected 2 arguments, received 1[0m
|
||||
↳ from [4mtest/tests/function args arity check fail.ans:4:2[0m in call: [2mf("ok")[0m[0m
|
||||
↳ from [4m?[0m in block: [2m:f = ($(a, b) _)…[0m
|
||||
--# saved #--
|
||||
|
|
|
|||
21
test/results/function exported.ans
Normal file
21
test/results/function exported.ans
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"local:"|
|
||||
--- text ---
|
||||
| {}"" {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"" {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"" {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"exported:"|
|
||||
--- text ---
|
||||
| {}"" {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"" {}"2" {}""|
|
||||
--- text ---
|
||||
| {}"" {}"3" {}""|
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{}
|
||||
8
test/results/function return exit function nested.ans
Normal file
8
test/results/function return exit function nested.ans
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"" {}"5" {}""|
|
||||
| {}"" {}"2" {}""|
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{}
|
||||
8
test/results/function return nested.ans
Normal file
8
test/results/function return nested.ans
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"" {}"5" {}""|
|
||||
| {}"" {}"2" {}""|
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
--# run #--
|
||||
--- error ---
|
||||
./state/State.lua:145: [0m[31m[0m[31m[0m[31m[0m[31midentifier "b" is undefined in branch 0a138a38-3faa-4478-10f6f-1a9de1e0a8e1[0m
|
||||
[0m[31m[0m[31m[0m[31m[0m[31midentifier "b" is undefined in branch 0a138a38-3faa-4478-10f6f-1a9de1e0a8e1[0m
|
||||
↳ from [4mtest/tests/function scope wrong.ans:4:7[0m in identifier: [2mb[0m[0m
|
||||
↳ from [4mtest/tests/function scope wrong.ans:4:1[0m in text interpolation: [2m| a: {b}|[0m[0m
|
||||
↳ from [4mtest/tests/function scope wrong.ans:4:1[0m in translatable: [2m| a: {b}|[0m[0m
|
||||
|
|
|
|||
65
test/results/function scoped mutable.ans
Normal file
65
test/results/function scoped mutable.ans
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"new list each time:"|
|
||||
--- text ---
|
||||
| {}"start: " {}"*[]" {}""|
|
||||
--- text ---
|
||||
| {}"before recursion " {}"1" {}": " {}"*[1]" {}""|
|
||||
--- text ---
|
||||
| {}"start: " {}"*[]" {}""|
|
||||
--- text ---
|
||||
| {}"before recursion " {}"2" {}": " {}"*[2]" {}""|
|
||||
--- text ---
|
||||
| {}"start: " {}"*[]" {}""|
|
||||
--- text ---
|
||||
| {}"before recursion " {}"3" {}": " {}"*[3]" {}""|
|
||||
--- text ---
|
||||
| {}"start: " {}"*[]" {}""|
|
||||
--- text ---
|
||||
| {}"before recursion " {}"4" {}": " {}"*[4]" {}""|
|
||||
--- text ---
|
||||
| {}"start: " {}"*[]" {}""|
|
||||
--- text ---
|
||||
| {}"before recursion " {}"5" {}": " {}"*[5]" {}""|
|
||||
--- text ---
|
||||
| {}"after recursion " {}"4" {}": " {}"*[4]" {}""|
|
||||
--- text ---
|
||||
| {}"after recursion " {}"3" {}": " {}"*[3]" {}""|
|
||||
--- text ---
|
||||
| {}"after recursion " {}"2" {}": " {}"*[2]" {}""|
|
||||
--- text ---
|
||||
| {}"after recursion " {}"1" {}": " {}"*[1]" {}""|
|
||||
--- text ---
|
||||
| {}"pass list:"|
|
||||
--- text ---
|
||||
| {}"start: " {}"*[]" {}""|
|
||||
--- text ---
|
||||
| {}"before recursion " {}"1" {}": " {}"*[1]" {}""|
|
||||
--- text ---
|
||||
| {}"start: " {}"*[1]" {}""|
|
||||
--- text ---
|
||||
| {}"before recursion " {}"2" {}": " {}"*[1, 2]" {}""|
|
||||
--- text ---
|
||||
| {}"start: " {}"*[1, 2]" {}""|
|
||||
--- text ---
|
||||
| {}"before recursion " {}"3" {}": " {}"*[1, 2, 3]" {}""|
|
||||
--- text ---
|
||||
| {}"start: " {}"*[1, 2, 3]" {}""|
|
||||
--- text ---
|
||||
| {}"before recursion " {}"4" {}": " {}"*[1, 2, 3, 4]" {}""|
|
||||
--- text ---
|
||||
| {}"start: " {}"*[1, 2, 3, 4]" {}""|
|
||||
--- text ---
|
||||
| {}"before recursion " {}"5" {}": " {}"*[1, 2, 3, 4, 5]" {}""|
|
||||
--- text ---
|
||||
| {}"after recursion " {}"4" {}": " {}"*[1, 2, 3, 4, 5]" {}""|
|
||||
--- text ---
|
||||
| {}"after recursion " {}"3" {}": " {}"*[1, 2, 3, 4, 5]" {}""|
|
||||
--- text ---
|
||||
| {}"after recursion " {}"2" {}": " {}"*[1, 2, 3, 4, 5]" {}""|
|
||||
--- text ---
|
||||
| {}"after recursion " {}"1" {}": " {}"*[1, 2, 3, 4, 5]" {}""|
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{}
|
||||
61
test/results/function scoped nested.ans
Normal file
61
test/results/function scoped nested.ans
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"depth 1:"|
|
||||
--- text ---
|
||||
| {}"" {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"" {}">" {}" depth 2, unscoped:"|
|
||||
--- text ---
|
||||
| {}"" {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"" {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"" {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"" {}">" {}" depth 2, scoped:"|
|
||||
--- text ---
|
||||
| {}"" {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"" {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"" {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"" {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"" {}">" {}" depth 2, unscoped:"|
|
||||
--- text ---
|
||||
| {}"" {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"" {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"" {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"" {}">" {}" depth 2, scoped:"|
|
||||
--- text ---
|
||||
| {}"" {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"" {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"" {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"" {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"" {}">" {}" depth 2, unscoped:"|
|
||||
--- text ---
|
||||
| {}"" {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"" {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"" {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"" {}">" {}" depth 2, scoped:"|
|
||||
--- text ---
|
||||
| {}"" {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"" {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"" {}"1" {}""|
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{}
|
||||
33
test/results/function scoped recursive.ans
Normal file
33
test/results/function scoped recursive.ans
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"start: " {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"before recursion " {}"1" {}": " {}"2" {}""|
|
||||
--- text ---
|
||||
| {}"start: " {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"before recursion " {}"2" {}": " {}"2" {}""|
|
||||
--- text ---
|
||||
| {}"start: " {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"before recursion " {}"3" {}": " {}"2" {}""|
|
||||
--- text ---
|
||||
| {}"start: " {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"before recursion " {}"4" {}": " {}"2" {}""|
|
||||
--- text ---
|
||||
| {}"start: " {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"before recursion " {}"5" {}": " {}"2" {}""|
|
||||
--- text ---
|
||||
| {}"after recursion " {}"4" {}": " {}"2" {}""|
|
||||
--- text ---
|
||||
| {}"after recursion " {}"3" {}": " {}"2" {}""|
|
||||
--- text ---
|
||||
| {}"after recursion " {}"2" {}": " {}"2" {}""|
|
||||
--- text ---
|
||||
| {}"after recursion " {}"1" {}": " {}"2" {}""|
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{}
|
||||
21
test/results/function scoped.ans
Normal file
21
test/results/function scoped.ans
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"paren:"|
|
||||
--- text ---
|
||||
| {}"" {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"" {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"" {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"no paren:"|
|
||||
--- text ---
|
||||
| {}"" {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"" {}"1" {}""|
|
||||
--- text ---
|
||||
| {}"" {}"1" {}""|
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{}
|
||||
12
test/results/function separate variable from variants.ans
Normal file
12
test/results/function separate variable from variants.ans
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
--# run #--
|
||||
--- error ---
|
||||
[0m[31m[0m[31m[0m[31m[0m[31mcan't call overload overload<($(c::($(x) <lua function>), s::($(x) <lua function>)) = v; <lua function>), ($(c::($(x) <lua function>), s::($(x) <lua function>)) = v; <lua function>), ($(c::($(x) <lua function>), s::($(x) <lua function>)) <lua function>)>: no function match (overload<($(b) _), ($(x) _), ($() _)>, "a"), possible functions were:
|
||||
• (c::($(x) <lua function>), s::($(x) <lua function>)) = v: expected 3 arguments, received 2
|
||||
• (c::($(x) <lua function>), s::($(x) <lua function>)) = v: expected 3 arguments, received 2
|
||||
• (c::($(x) <lua function>), s::($(x) <lua function>)): type check failure for parameter c in function (c::($(x) <lua function>), s::($(x) <lua function>))[0m
|
||||
↳ from [4mtest/tests/function separate variable from variants.ans:10:4[0m in call: [2mf . "a"[0m[0m
|
||||
↳ from [4mtest/tests/function separate variable from variants.ans:10:1[0m in text interpolation: [2m| {(f . "a")} = 2|[0m[0m
|
||||
↳ from [4mtest/tests/function separate variable from variants.ans:10:1[0m in translatable: [2m| {(f . "a")} = 2|[0m[0m
|
||||
↳ from [4m?[0m in block: [2m:f = ($() _)…[0m
|
||||
--# saved #--
|
||||
{}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
--# run #--
|
||||
--- error ---
|
||||
./state/State.lua:145: [0m[31m[0m[31mcan't call overload overload<($(a::($(x) <lua function>)) _), ($(x::($(x) <lua function>)) _)>: more than one function match (5), matching functions were at least (specificity 1.3):
|
||||
[0m[31m[0m[31mcan't call overload overload<($(a::($(x) <lua function>)) _), ($(x::($(x) <lua function>)) _)>: more than one function match (5), matching functions were at least (specificity 1.3):
|
||||
• (x::($(x) <lua function>))
|
||||
• (a::($(x) <lua function>))[0m
|
||||
↳ from [4mtest/tests/function type dispatch ambigous.ans:7:3[0m in call: [2mfn(5)[0m[0m
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
--- text ---
|
||||
| {}"" {}"*[3, 12, 99]" {}""|
|
||||
--- error ---
|
||||
./state/State.lua:145: [0m[31m[0m[31mlist index out of bounds[0m
|
||||
[0m[31m[0m[31mlist index out of bounds[0m
|
||||
↳ from [4mtest/tests/list assignement.ans:21:6[0m in call: [2mx(5) = 0[0m[0m
|
||||
↳ from [4m?[0m in block: [2m:x = *[1, 2]…[0m
|
||||
--# saved #--
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
--- text ---
|
||||
| {}"" {}"3" {}" == " {}"3" {}""|
|
||||
--- error ---
|
||||
./state/State.lua:145: [0m[31m[0m[31m[0m[31m[0m[31mtuple index out of bounds[0m
|
||||
[0m[31m[0m[31m[0m[31m[0m[31mtuple index out of bounds[0m
|
||||
↳ from [4mtest/tests/list index.ans:11:4[0m in call: [2mx(-4)[0m[0m
|
||||
↳ from [4mtest/tests/list index.ans:11:1[0m in text interpolation: [2m| {x(-4)}|[0m[0m
|
||||
↳ from [4mtest/tests/list index.ans:11:1[0m in translatable: [2m| {x(-4)}|[0m[0m
|
||||
|
|
|
|||
9
test/results/return children.ans
Normal file
9
test/results/return children.ans
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"" {}"50" {}" = 50"|
|
||||
--- text ---
|
||||
| {}"" {}"3" {}" = 3"|
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{}
|
||||
9
test/results/tag operator.ans
Normal file
9
test/results/tag operator.ans
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"a " {1:5}"" {1:5}"b" {1:5}"" {}" c"|
|
||||
--- text ---
|
||||
| {2:2}"a " {1:5, 2:2}"" {1:5, 2:2}"b" {1:5, 2:2}"" {2:2}" c"|
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{}
|
||||
7
test/results/text buffer with tags.ans
Normal file
7
test/results/text buffer with tags.ans
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {1:1}"lol"|
|
||||
--- return ---
|
||||
@| {}"a " {1:2}"d" {}" " {1:3}"t" {}" b"|
|
||||
--# saved #--
|
||||
{}
|
||||
7
test/results/text buffer.ans
Normal file
7
test/results/text buffer.ans
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"lol"|
|
||||
--- return ---
|
||||
@| {}"a " {}"d" {}" b"|
|
||||
--# saved #--
|
||||
{}
|
||||
11
test/results/translate context.ans
Normal file
11
test/results/translate context.ans
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"Hello"|
|
||||
--- text ---
|
||||
| {}"Bonjour"|
|
||||
--- text ---
|
||||
| {}"Hello"|
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{}
|
||||
9
test/results/translate string.ans
Normal file
9
test/results/translate string.ans
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"" {}"Hello" {}""|
|
||||
--- text ---
|
||||
| {}"" {}"Bonjour" {}""|
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{}
|
||||
9
test/results/translate text.ans
Normal file
9
test/results/translate text.ans
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"Hello"|
|
||||
--- text ---
|
||||
| {}"Bonjour"|
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{}
|
||||
Loading…
Add table
Add a link
Reference in a new issue