1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-27 16:49:31 +00:00
anselme/test/tests/checkpoint merging mutable value.ans
Étienne Reuh Fildadut 13ce7a2efa [language] flush literals are now --- instead of empty lines
Empty lines could lead to unexpected flushes, for example when calling another function where empty lines are used for code presentation.
2024-04-30 23:06:08 +02:00

25 lines
199 B
Text

:l = *[1,2]
:@$ post run check
|1,2,3,4: {l}
|1,2: {l}
l!insert(3)
|1,2,3: {l}
merge branch!
l!insert(4)
|1,2,3,4: {l}
merge branch!
l!insert(5)
|1,2,3,4,5: {l}
---
error("cancel merge")