aboutsummaryrefslogtreecommitdiff
path: root/tests/control_flow.nom
diff options
context:
space:
mode:
Diffstat (limited to 'tests/control_flow.nom')
-rw-r--r--tests/control_flow.nom5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/control_flow.nom b/tests/control_flow.nom
index 40b344f..886b59c 100644
--- a/tests/control_flow.nom
+++ b/tests/control_flow.nom
@@ -178,9 +178,10 @@ try
do
barf
..then always
- %x <- 1
+ %x <- 3
..and if it barfs: do nothing
-assume (%x = 1) or barf "do/then always failed"
+lua> "collectgarbage()"
+assume (%x = 3) or barf "do/then always failed"
say "Control flow test passed."