diff --git a/tests/control_flow.nom b/tests/control_flow.nom index 56c99a0..939d5ee 100644 --- a/tests/control_flow.nom +++ b/tests/control_flow.nom @@ -115,6 +115,12 @@ for %key = %value in {x:1,y:2} stop %value barf "stopping value failed" +for %key = %value in {x:1} + stop %key + stop %value + do next %key + do next %value + for %key = %value in {x:1,y:2} do next %key barf "skipping key failed"