aboutsummaryrefslogtreecommitdiff
path: root/tests/coroutines.nom
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-07-22 16:33:11 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-07-22 16:33:11 -0700
commitd38020bc5ac0fe7b6ff060c62943c277d4beb3bf (patch)
tree032a888313e2abc71cc8cbd3689aec202737d695 /tests/coroutines.nom
parent5224199fcf017101de224574c0a6ab502d7dd772 (diff)
Actually removing the tests now that they're inline.
Diffstat (limited to 'tests/coroutines.nom')
-rw-r--r--tests/coroutines.nom16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/coroutines.nom b/tests/coroutines.nom
deleted file mode 100644
index 84d5eed..0000000
--- a/tests/coroutines.nom
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/env nomsu -V2.5.4.3
-#
- Tests for the stuff defined in core/control_flow.nom
-
-use "core"
-
-%nums = []
-%co = (..)
- coroutine:
- -> 4
- -> 5
- repeat 3 times: -> 6
-
-for % in coroutine %co (add % to %nums)
-assume (%nums == [4, 5, 6, 6, 6]) or barf "Coroutine iteration failed"
-say "Coroutines test passed."