mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-27 16:49:31 +00:00
Final test batch and associated fixes
This commit is contained in:
parent
050c84921c
commit
43a745a7a9
66 changed files with 1233 additions and 51 deletions
20
test/results/checkpoint merging mutable value.ans
Normal file
20
test/results/checkpoint merging mutable value.ans
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"1,2: " {}"*[1, 2]" {}"" |
|
||||
--- text ---
|
||||
| {}"1,2,3: " {}"*[1, 2, 3]" {}"" |
|
||||
--- text ---
|
||||
| {}"1,2,3,4: " {}"*[1, 2, 3, 4]" {}"" |
|
||||
--- text ---
|
||||
| {}"1,2,3,4,5: " {}"*[1, 2, 3, 4, 5]" {}"" |
|
||||
--- error ---
|
||||
[0m[31m[0m[31mcancel merge[0m
|
||||
↳ from [4mtest/tests/checkpoint merging mutable value.ans:24:6[0m in call: [2merror("cancel merge")[0m[0m
|
||||
↳ from [4m?[0m in block: [2m:l = *[1, 2]…[0m
|
||||
--# post run check #--
|
||||
--- text ---
|
||||
| {}"1,2,3,4: " {}"*[1, 2, 3, 4]" {}"" |
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{}
|
||||
20
test/results/checkpoint merging variable.ans
Normal file
20
test/results/checkpoint merging variable.ans
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"1: " {}"1" {}"" |
|
||||
--- text ---
|
||||
| {}"2: " {}"2" {}"" |
|
||||
--- text ---
|
||||
| {}"3: " {}"3" {}"" |
|
||||
--- text ---
|
||||
| {}"4: " {}"4" {}"" |
|
||||
--- error ---
|
||||
[0m[31m[0m[31mcancel merge[0m
|
||||
↳ from [4mtest/tests/checkpoint merging variable.ans:24:6[0m in call: [2merror("cancel merge")[0m[0m
|
||||
↳ from [4m?[0m in block: [2m:l = 1…[0m
|
||||
--# post run check #--
|
||||
--- text ---
|
||||
| {}"3: " {}"3" {}"" |
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{}
|
||||
21
test/results/commit.ans
Normal file
21
test/results/commit.ans
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"before: " {}"2" {}"" |
|
||||
--# parallel script #--
|
||||
--- text ---
|
||||
| {}"parallel: " {}"5" {}"" |
|
||||
--- return ---
|
||||
()
|
||||
--# main script #--
|
||||
--- text ---
|
||||
| {}"after: " {}"2" {}"" |
|
||||
--# parallel script #--
|
||||
--- text ---
|
||||
| {}"parallel: " {}"2" {}"" |
|
||||
--- return ---
|
||||
()
|
||||
--# main script #--
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{"bar.checkpoint":#foo, "bar.reached":*{#foo:1}, "bar.run":1}
|
||||
10
test/results/custom event.ans
Normal file
10
test/results/custom event.ans
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
--# run #--
|
||||
--- wait ---
|
||||
5
|
||||
--- text ---
|
||||
| {}"ah" |
|
||||
| {}"ho" |
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{}
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
--- text ---
|
||||
| {}"" {}"42" {}"" |
|
||||
--- error ---
|
||||
[0m[31m[0m[31m[0m[31m[0m[31midentifier "z" is undefined in branch 6843ee85-cea8-445d-10f21-9a8e54372094[0m
|
||||
[0m[31m[0m[31m[0m[31m[0m[31midentifier "z" is undefined in branch 1228bcf1-5118-4955-10048-8fda790007be[0m
|
||||
↳ from [4mtest/tests/exported variable nested.ans:12:3[0m in identifier: [2mz[0m[0m
|
||||
↳ from [4mtest/tests/exported variable nested.ans:12:1[0m in text interpolation: [2m| {z} |[0m[0m
|
||||
↳ from [4mtest/tests/exported variable nested.ans:12:1[0m in translatable: [2m| {z} |[0m[0m
|
||||
|
|
|
|||
7
test/results/function conflict.ans
Normal file
7
test/results/function conflict.ans
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
--# run #--
|
||||
--- error ---
|
||||
[0m[31m[0m[31ma function with parameters (a, b) is already defined in the overload[0m
|
||||
↳ from [4mtest/tests/function conflict.ans:5:1[0m in definition: [2m:f = ($(a, b) 0)[0m[0m
|
||||
↳ from [4m?[0m in block: [2m:f = ($(a, b) 0)…[0m
|
||||
--# saved #--
|
||||
{}
|
||||
15
test/results/function cycle.ans
Normal file
15
test/results/function cycle.ans
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"a" |
|
||||
--- text ---
|
||||
| {}"b" |
|
||||
--- text ---
|
||||
| {}"c" |
|
||||
--- text ---
|
||||
| {}"a" |
|
||||
--- text ---
|
||||
| {}"b" |
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{"a.checkpoint":false, "a.run":2, "b.checkpoint":false, "b.run":2, "c.checkpoint":false, "c.run":1}
|
||||
15
test/results/function next.ans
Normal file
15
test/results/function next.ans
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"a" |
|
||||
--- text ---
|
||||
| {}"b" |
|
||||
--- text ---
|
||||
| {}"c" |
|
||||
--- text ---
|
||||
| {}"c" |
|
||||
--- text ---
|
||||
| {}"c" |
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{"a.checkpoint":false, "a.run":1, "b.checkpoint":false, "b.run":1, "c.checkpoint":false, "c.run":3}
|
||||
15
test/results/function random.ans
Normal file
15
test/results/function random.ans
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"c" |
|
||||
--- text ---
|
||||
| {}"a" |
|
||||
--- text ---
|
||||
| {}"c" |
|
||||
--- text ---
|
||||
| {}"a" |
|
||||
--- text ---
|
||||
| {}"b" |
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{"a.checkpoint":false, "a.run":2, "b.checkpoint":false, "b.run":1, "c.checkpoint":false, "c.run":2}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
--# run #--
|
||||
--- error ---
|
||||
[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 57b4c67d-b128-4b9a-11e39-0e6612f1210e[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
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
--# run #--
|
||||
--- error ---
|
||||
[0m[31m[0m[31m[0m[31m[0m[31mcan't call overload overload<($(s::($(x) type(x) == t), k::($(x) <lua function>)) = val; _), ($(s::($(x) type(x) == t), k::($(x) <lua function>)) _), ($(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:
|
||||
[0m[31m[0m[31m[0m[31m[0m[31mcan't call overload overload<($(s::($(x) type(x) == t), k::($(x) <lua function>)) = val; _), ($(s::($(x) type(x) == t), k::($(x) <lua function>)) = val; _), ($(s::($(x) type(x) == t), k::($(x) <lua function>)) _), ($(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:
|
||||
• (s::($(x) type(x) == t), k::($(x) <lua function>)) = val: expected 3 arguments, received 2
|
||||
• (s::($(x) type(x) == t), k::($(x) <lua function>)) = val: expected 3 arguments, received 2
|
||||
• (s::($(x) type(x) == t), k::($(x) <lua function>)): type check failure for parameter s in function (s::($(x) type(x) == t), k::($(x) <lua function>))
|
||||
• (c::($(x) <lua function>), s::($(x) <lua function>)) = v: expected 3 arguments, received 2
|
||||
|
|
|
|||
11
test/results/interrupt callback nested paragraph.ans
Normal file
11
test/results/interrupt callback nested paragraph.ans
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"before: " {}"2" {}"" |
|
||||
--- interrupt ---
|
||||
nil
|
||||
--- text ---
|
||||
| {}"in interrupt: " {}"2" {}"" |
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{"bar.checkpoint":false}
|
||||
11
test/results/interrupt callback nested.ans
Normal file
11
test/results/interrupt callback nested.ans
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"before: " {}"2" {}"" |
|
||||
--- interrupt ---
|
||||
nil
|
||||
--- text ---
|
||||
| {}"in interrupt: " {}"2" {}"" |
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{"bar.checkpoint":false}
|
||||
11
test/results/interrupt callback.ans
Normal file
11
test/results/interrupt callback.ans
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"before: " {}"2" {}"" |
|
||||
--- interrupt ---
|
||||
nil
|
||||
--- text ---
|
||||
| {}"in interrupt: " {}"2" {}"" |
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{"bar.checkpoint":false}
|
||||
7
test/results/interrupt no callback.ans
Normal file
7
test/results/interrupt no callback.ans
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"before: " {}"2" {}"" |
|
||||
--- interrupt ---
|
||||
nil
|
||||
--# saved #--
|
||||
{}
|
||||
19
test/results/map index accross checkpoints.ans
Normal file
19
test/results/map index accross checkpoints.ans
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"x=" {}"*{1:4}" {}"" |
|
||||
--- text ---
|
||||
| {}"1=" {}"true" {}"" |
|
||||
--- text ---
|
||||
| {}"a(x)=" {}"4" {}"" |
|
||||
--- text ---
|
||||
| {}"a(x)=" {}"4" {}"" |
|
||||
--- text ---
|
||||
| {}"a(x)=" {}"4" {}"" |
|
||||
--- text ---
|
||||
| {}"a(x)=" {}"4" {}"" |
|
||||
--- text ---
|
||||
| {}"no=" {}"()" {}"" |
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{"f.checkpoint":#ch c, "f.reached":*{#ch a:1, #ch b:1, #ch c:1}, "f.run":1}
|
||||
10
test/results/merge nested mutable bis.ans
Normal file
10
test/results/merge nested mutable bis.ans
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
--# run #--
|
||||
--- return ---
|
||||
()
|
||||
--# post run check #--
|
||||
--- text ---
|
||||
| {}"[1,[2,3,4]]: " {}"*[1, *[2, 3, 4]]" {}"" |
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{"f.checkpoint":#d, "f.reached":*{#c:1, #d:1}, "f.run":1}
|
||||
31
test/results/merge nested mutable error bis.ans
Normal file
31
test/results/merge nested mutable error bis.ans
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
--# run #--
|
||||
--- error ---
|
||||
[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31mabort[0m
|
||||
↳ from [4mtest/tests/merge nested mutable error bis.ans:14:7[0m in call: [2merror("abort")[0m[0m
|
||||
↳ from [4mtest/tests/merge nested mutable error bis.ans:3:1[0m in block: [2minsert(a, b)…[0m[0m
|
||||
↳ from [4mtest/tests/merge nested mutable error bis.ans:3:18[0m in call: [2m_[0m[0m
|
||||
↳ from [4mtest/tests/merge nested mutable error bis.ans:3:17[0m in return boundary: [2m_[0m[0m
|
||||
↳ from [4mtest/tests/merge nested mutable error bis.ans:3:17[0m in return boundary: [2m_[0m[0m
|
||||
↳ from [4mscript.ans:29:6[0m in call: [2mfn![0m[0m
|
||||
↳ from [4mscript.ans:27:3[0m in block: [2mresumed from = ()…[0m[0m
|
||||
↳ from [4mscript.ans:27:5[0m in call: [2m_[0m[0m
|
||||
↳ from [4mscript.ans:27:3[0m in call: [2m~_[0m[0m
|
||||
↳ from [4mscript.ans:27:3[0m in partial scope: [2m~_…[0m[0m
|
||||
↳ from [4mscript.ans:23:2[0m in block: [2mfn . "current checkpoint" ~…[0m[0m
|
||||
↳ from [4mscript.ans:23:9[0m in call: [2m_[0m[0m
|
||||
↳ from [4mscript.ans:23:7[0m in return boundary: [2m_[0m[0m
|
||||
↳ from [4mscript.ans:23:7[0m in return boundary: [2m_[0m[0m
|
||||
↳ from [4mscript.ans:37:9[0m in call: [2mvalue(s)![0m[0m
|
||||
↳ from [4mscript.ans:36:1[0m in block: [2mvalue(s)![0m[0m
|
||||
↳ from [4mscript.ans:36:20[0m in call: [2m_[0m[0m
|
||||
↳ from [4mscript.ans:36:1[0m in return boundary: [2m_[0m[0m
|
||||
↳ from [4mscript.ans:36:1[0m in return boundary: [2m_[0m[0m
|
||||
↳ from [4mtest/tests/merge nested mutable error bis.ans:19:2[0m in call: [2mf![0m[0m
|
||||
↳ from [4m?[0m in block: [2m:a = *[1]…[0m
|
||||
--# post run check #--
|
||||
--- text ---
|
||||
| {}"[1,[2,3]]: " {}"*[1, *[2, 3]]" {}"" |
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{"f.checkpoint":#d, "f.reached":*{#c:1, #d:1}}
|
||||
31
test/results/merge nested mutable error.ans
Normal file
31
test/results/merge nested mutable error.ans
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
--# run #--
|
||||
--- error ---
|
||||
[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31mabort[0m
|
||||
↳ from [4mtest/tests/merge nested mutable error.ans:14:7[0m in call: [2merror("abort")[0m[0m
|
||||
↳ from [4mtest/tests/merge nested mutable error.ans:3:1[0m in block: [2minsert(a, b)…[0m[0m
|
||||
↳ from [4mtest/tests/merge nested mutable error.ans:3:18[0m in call: [2m_[0m[0m
|
||||
↳ from [4mtest/tests/merge nested mutable error.ans:3:17[0m in return boundary: [2m_[0m[0m
|
||||
↳ from [4mtest/tests/merge nested mutable error.ans:3:17[0m in return boundary: [2m_[0m[0m
|
||||
↳ from [4mscript.ans:29:6[0m in call: [2mfn![0m[0m
|
||||
↳ from [4mscript.ans:27:3[0m in block: [2mresumed from = ()…[0m[0m
|
||||
↳ from [4mscript.ans:27:5[0m in call: [2m_[0m[0m
|
||||
↳ from [4mscript.ans:27:3[0m in call: [2m~_[0m[0m
|
||||
↳ from [4mscript.ans:27:3[0m in partial scope: [2m~_…[0m[0m
|
||||
↳ from [4mscript.ans:23:2[0m in block: [2mfn . "current checkpoint" ~…[0m[0m
|
||||
↳ from [4mscript.ans:23:9[0m in call: [2m_[0m[0m
|
||||
↳ from [4mscript.ans:23:7[0m in return boundary: [2m_[0m[0m
|
||||
↳ from [4mscript.ans:23:7[0m in return boundary: [2m_[0m[0m
|
||||
↳ from [4mscript.ans:37:9[0m in call: [2mvalue(s)![0m[0m
|
||||
↳ from [4mscript.ans:36:1[0m in block: [2mvalue(s)![0m[0m
|
||||
↳ from [4mscript.ans:36:20[0m in call: [2m_[0m[0m
|
||||
↳ from [4mscript.ans:36:1[0m in return boundary: [2m_[0m[0m
|
||||
↳ from [4mscript.ans:36:1[0m in return boundary: [2m_[0m[0m
|
||||
↳ from [4mtest/tests/merge nested mutable error.ans:19:2[0m in call: [2mf![0m[0m
|
||||
↳ from [4m?[0m in block: [2m:a = *[1]…[0m
|
||||
--# post run check #--
|
||||
--- text ---
|
||||
| {}"[1,[2,3]]: " {}"*[1, *[2, 3]]" {}"" |
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{"f.checkpoint":#d, "f.reached":*{#c:1, #d:1}}
|
||||
10
test/results/merge nested mutable.ans
Normal file
10
test/results/merge nested mutable.ans
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
--# run #--
|
||||
--- return ---
|
||||
()
|
||||
--# post run check #--
|
||||
--- text ---
|
||||
| {}"[1,[2,3],4]: " {}"*[1, *[2, 3], 4]" {}"" |
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{"f.checkpoint":#d, "f.reached":*{#c:1, #d:1}, "f.run":1}
|
||||
42
test/results/scope checkpoint mutable bis error.ans
Normal file
42
test/results/scope checkpoint mutable bis error.ans
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"f1: " {}"*[1, *[99], 3]" {}" " {}"*[1, *[99], 3]" {}"" |
|
||||
--- text ---
|
||||
| {}"CHECK" |
|
||||
--- text ---
|
||||
| {}"REC" |
|
||||
--- text ---
|
||||
| {}"f1: " {}"*[1, *[99], 3, 4]" {}" " {}"*[1, *[99], 3, 4]" {}"" |
|
||||
--- text ---
|
||||
| {}"CHECK" |
|
||||
--- text ---
|
||||
| {}"f2: " {}"*[1, *[99], 3, 4]" {}"" |
|
||||
--- text ---
|
||||
| {}"CHECK 2" |
|
||||
--- error ---
|
||||
[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31mt[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable bis error.ans:32:7[0m in call: [2merror("t")[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable bis error.ans:7:1[0m in block: [2minsert(t, len(l) + 1)…[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable bis error.ans:7:8[0m in call: [2m_[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable bis error.ans:7:1[0m in return boundary: [2m_[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable bis error.ans:7:1[0m in return boundary: [2m_[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable bis error.ans:19:4[0m in call: [2mf(t)[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable bis error.ans:15:2[0m in block: [2m| REC |…[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable bis error.ans:15:10[0m in call: [2m_[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable bis error.ans:15:8[0m in call: [2mn < 1 ~ _[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable bis error.ans:15:2[0m in partial scope: [2mn < 1 ~…[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable bis error.ans:7:1[0m in block: [2minsert(t, len(l) + 1)…[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable bis error.ans:7:8[0m in call: [2m_[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable bis error.ans:7:1[0m in return boundary: [2m_[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable bis error.ans:7:1[0m in return boundary: [2m_[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable bis error.ans:41:2[0m in call: [2mf(l)[0m[0m
|
||||
↳ from [4m?[0m in block: [2m:x = *[99]…[0m
|
||||
--# post run check #--
|
||||
--- text ---
|
||||
| {}"AFTER ERROR" |
|
||||
--- text ---
|
||||
| {}"l: " {}"*[1, *[99], 3, 4]" {}"" |
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{}
|
||||
35
test/results/scope checkpoint mutable bis.ans
Normal file
35
test/results/scope checkpoint mutable bis.ans
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"f1: " {}"*[1, *[99], 3]" {}" " {}"*[1, *[99], 3]" {}"" |
|
||||
--- text ---
|
||||
| {}"CHECK" |
|
||||
--- text ---
|
||||
| {}"REC" |
|
||||
--- text ---
|
||||
| {}"f1: " {}"*[1, *[99], 3, 4]" {}" " {}"*[1, *[99], 3, 4]" {}"" |
|
||||
--- text ---
|
||||
| {}"CHECK" |
|
||||
--- text ---
|
||||
| {}"f2: " {}"*[1, *[99], 3, 4]" {}"" |
|
||||
--- text ---
|
||||
| {}"CHECK 2" |
|
||||
--- text ---
|
||||
| {}"f3: " {}"*[1, *[99, 6], 3, 4, 5]" {}" " {}"*[1, *[99, 6], 3, 4, 5]" {}"" |
|
||||
--- text ---
|
||||
| {}"END REC" |
|
||||
--- text ---
|
||||
| {}"f2: " {}"*[1, *[99, 6], 3, 4, 5]" {}"" |
|
||||
--- text ---
|
||||
| {}"CHECK 2" |
|
||||
--- text ---
|
||||
| {}"f3: " {}"*[1, *[99, 6, 7], 3, 4, 5, 6]" {}" " {}"*[1, *[99, 6, 7], 3, 4, 5, 6]" {}"" |
|
||||
--- text ---
|
||||
| {}"FINAL" |
|
||||
--- text ---
|
||||
| {}"l: " {}"*[1, *[99, 6, 7], 3, 4, 5, 6]" {}"" |
|
||||
--- text ---
|
||||
| {}"x: " {}"*[99, 6, 7]" {}"" |
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{}
|
||||
38
test/results/scope checkpoint mutable error.ans
Normal file
38
test/results/scope checkpoint mutable error.ans
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"f1: " {}"*[1, 2]" {}" " {}"*[1, 2]" {}"" |
|
||||
--- text ---
|
||||
| {}"CHECK" |
|
||||
--- text ---
|
||||
| {}"REC" |
|
||||
--- text ---
|
||||
| {}"f1: " {}"*[1, 2, 3]" {}" " {}"*[1, 2, 3]" {}"" |
|
||||
--- text ---
|
||||
| {}"CHECK" |
|
||||
--- error ---
|
||||
[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31mt[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable error.ans:23:7[0m in call: [2merror("t")[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable error.ans:5:1[0m in block: [2minsert(t, len(l) + 1)…[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable error.ans:5:8[0m in call: [2m_[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable error.ans:5:1[0m in return boundary: [2m_[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable error.ans:5:1[0m in return boundary: [2m_[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable error.ans:17:4[0m in call: [2mf(t)[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable error.ans:13:2[0m in block: [2m| REC |…[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable error.ans:13:10[0m in call: [2m_[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable error.ans:13:8[0m in call: [2mn < 1 ~ _[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable error.ans:13:2[0m in partial scope: [2mn < 1 ~…[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable error.ans:5:1[0m in block: [2minsert(t, len(l) + 1)…[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable error.ans:5:8[0m in call: [2m_[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable error.ans:5:1[0m in return boundary: [2m_[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable error.ans:5:1[0m in return boundary: [2m_[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable error.ans:32:2[0m in call: [2mf(l)[0m[0m
|
||||
↳ from [4m?[0m in block: [2m:l = *[1]…[0m
|
||||
--# post run check #--
|
||||
--- text ---
|
||||
| {}"AFTER ERROR" |
|
||||
--- text ---
|
||||
| {}"l: " {}"*[1, 2, 3]" {}"" |
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{}
|
||||
42
test/results/scope checkpoint mutable ter error.ans
Normal file
42
test/results/scope checkpoint mutable ter error.ans
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"f1: " {}"*[1, *[99], 3]" {}" " {}"*[1, *[99], 3]" {}"" |
|
||||
--- text ---
|
||||
| {}"CHECK" |
|
||||
--- text ---
|
||||
| {}"REC" |
|
||||
--- text ---
|
||||
| {}"f1: " {}"*[1, *[99], 3, 4]" {}" " {}"*[1, *[99], 3, 4]" {}"" |
|
||||
--- text ---
|
||||
| {}"CHECK" |
|
||||
--- text ---
|
||||
| {}"f2: " {}"*[1, *[99, 12], 3, 4]" {}"" |
|
||||
--- text ---
|
||||
| {}"CHECK 2" |
|
||||
--- error ---
|
||||
[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31m[0m[31mt[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable ter error.ans:34:7[0m in call: [2merror("t")[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable ter error.ans:7:1[0m in block: [2minsert(t, len(l) + 1)…[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable ter error.ans:7:8[0m in call: [2m_[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable ter error.ans:7:1[0m in return boundary: [2m_[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable ter error.ans:7:1[0m in return boundary: [2m_[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable ter error.ans:19:4[0m in call: [2mf(t)[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable ter error.ans:15:2[0m in block: [2m| REC |…[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable ter error.ans:15:10[0m in call: [2m_[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable ter error.ans:15:8[0m in call: [2mn < 1 ~ _[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable ter error.ans:15:2[0m in partial scope: [2mn < 1 ~…[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable ter error.ans:7:1[0m in block: [2minsert(t, len(l) + 1)…[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable ter error.ans:7:8[0m in call: [2m_[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable ter error.ans:7:1[0m in return boundary: [2m_[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable ter error.ans:7:1[0m in return boundary: [2m_[0m[0m
|
||||
↳ from [4mtest/tests/scope checkpoint mutable ter error.ans:43:2[0m in call: [2mf(l)[0m[0m
|
||||
↳ from [4m?[0m in block: [2m:x = *[99]…[0m
|
||||
--# post run check #--
|
||||
--- text ---
|
||||
| {}"AFTER ERROR" |
|
||||
--- text ---
|
||||
| {}"l: " {}"*[1, *[99, 12], 3, 4]" {}"" |
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{}
|
||||
35
test/results/scope checkpoint mutable ter.ans
Normal file
35
test/results/scope checkpoint mutable ter.ans
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"f1: " {}"*[1, *[99], 3]" {}" " {}"*[1, *[99], 3]" {}"" |
|
||||
--- text ---
|
||||
| {}"CHECK" |
|
||||
--- text ---
|
||||
| {}"REC" |
|
||||
--- text ---
|
||||
| {}"f1: " {}"*[1, *[99], 3, 4]" {}" " {}"*[1, *[99], 3, 4]" {}"" |
|
||||
--- text ---
|
||||
| {}"CHECK" |
|
||||
--- text ---
|
||||
| {}"f2: " {}"*[1, *[99, 12], 3, 4]" {}"" |
|
||||
--- text ---
|
||||
| {}"CHECK 2" |
|
||||
--- text ---
|
||||
| {}"f3: " {}"*[1, *[99, 12, 6], 3, 4, 5]" {}" " {}"*[1, *[99, 12, 6], 3, 4, 5]" {}"" |
|
||||
--- text ---
|
||||
| {}"END REC" |
|
||||
--- text ---
|
||||
| {}"f2: " {}"*[1, *[99, 12, 6, 12], 3, 4, 5]" {}"" |
|
||||
--- text ---
|
||||
| {}"CHECK 2" |
|
||||
--- text ---
|
||||
| {}"f3: " {}"*[1, *[99, 12, 6, 12, 7], 3, 4, 5, 6]" {}" " {}"*[1, *[99, 12, 6, 12, 7], 3, 4, 5, 6]" {}"" |
|
||||
--- text ---
|
||||
| {}"FINAL" |
|
||||
--- text ---
|
||||
| {}"l: " {}"*[1, *[99, 12, 6, 12, 7], 3, 4, 5, 6]" {}"" |
|
||||
--- text ---
|
||||
| {}"x: " {}"*[99, 12, 6, 12, 7]" {}"" |
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{}
|
||||
25
test/results/scope checkpoint mutable.ans
Normal file
25
test/results/scope checkpoint mutable.ans
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"f1: " {}"*[1, 2]" {}" " {}"*[1, 2]" {}"" |
|
||||
--- text ---
|
||||
| {}"CHECK" |
|
||||
--- text ---
|
||||
| {}"REC" |
|
||||
--- text ---
|
||||
| {}"f1: " {}"*[1, 2, 3]" {}" " {}"*[1, 2, 3]" {}"" |
|
||||
--- text ---
|
||||
| {}"CHECK" |
|
||||
--- text ---
|
||||
| {}"f2: " {}"*[1, 2, 3, 4]" {}"" |
|
||||
--- text ---
|
||||
| {}"END REC" |
|
||||
--- text ---
|
||||
| {}"f2: " {}"*[1, 2, 3, 4, 5]" {}"" |
|
||||
--- text ---
|
||||
| {}"FINAL" |
|
||||
--- text ---
|
||||
| {}"l: " {}"*[1, 2, 3, 4, 5]" {}"" |
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{}
|
||||
11
test/results/seen checkpoint resume.ans
Normal file
11
test/results/seen checkpoint resume.ans
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"a: " {}"0" {}"" |
|
||||
--- text ---
|
||||
| {}"a: " {}"1" {}"" |
|
||||
--- text ---
|
||||
| {}"a: " {}"2" {}"" |
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{"fn.checkpoint":#a, "fn.run":3}
|
||||
11
test/results/unseen line.ans
Normal file
11
test/results/unseen line.ans
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"a" |
|
||||
| {}"seen only once" |
|
||||
| {}"b" |
|
||||
| {}"a" |
|
||||
| {}"b" |
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{"x.checkpoint":false, "x.run":2}
|
||||
Loading…
Add table
Add a link
Reference in a new issue