diff options
Diffstat (limited to 'core/coroutines.nom')
| -rw-r--r-- | core/coroutines.nom | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/core/coroutines.nom b/core/coroutines.nom index 1a164a9..4b4639a 100644 --- a/core/coroutines.nom +++ b/core/coroutines.nom @@ -1,4 +1,4 @@ -#!/usr/bin/env nomsu -V6.13.12.8 +#!/usr/bin/env nomsu -V6.14 # This file defines the code that creates and manipulates coroutines @@ -18,7 +18,10 @@ test: $nums = [] for $ in coroutine $co: $nums, add $ - assume ($nums == [4, 5, 6, 6, 6]) or barf "Coroutine iteration failed" + + unless ($nums == [4, 5, 6, 6, 6]): + fail "Coroutine iteration failed" + $d = {.x = 0} $co2 = coroutine: |
