mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-28 00:59: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
49
test/tests/scope checkpoint mutable ter error.ans
Normal file
49
test/tests/scope checkpoint mutable ter error.ans
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
:x = *[99]
|
||||
|
||||
:l = *[1,x]
|
||||
|
||||
:n = 0
|
||||
|
||||
:$ f(t)
|
||||
t!insert(len(l)+1)
|
||||
|
||||
|f1: {l} {t}
|
||||
|
||||
|CHECK
|
||||
merge branch!
|
||||
|
||||
n < 1 ~
|
||||
|REC
|
||||
|
||||
n += 1
|
||||
f(t)
|
||||
|
||||
|END REC
|
||||
|
||||
x!insert(12)
|
||||
|
||||
|f2: {l}
|
||||
|
||||
|CHECK 2
|
||||
merge branch!
|
||||
|
||||
t!insert(len(t)+1)
|
||||
|
||||
t(2)!insert(len(l)+1)
|
||||
|
||||
error("t")
|
||||
|
||||
|f3: {l} {t}
|
||||
|
||||
:@$ post run check
|
||||
|AFTER ERROR
|
||||
|
||||
|l: {l}
|
||||
|
||||
f(l)
|
||||
|
||||
|FINAL
|
||||
|
||||
|l: {l}
|
||||
|
||||
|x: {x}
|
||||
Loading…
Add table
Add a link
Reference in a new issue