aboutsummaryrefslogtreecommitdiff
path: root/tests/control_flow.nom
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-02-02 15:48:28 -0800
committerBruce Hill <bitbucket@bruce-hill.com>2018-02-02 15:49:42 -0800
commit505fec2a61d2571317cc4bbc36ec0f4822a63f9d (patch)
treec2b37e9db8e2f958fbca0caa0a9c4924912a37a9 /tests/control_flow.nom
parent513c721198b2256235a95c98d161ab1bb51e6671 (diff)
Restructured the nomsu files to group all the essentials into core/ and
all the optionals into lib/. lib/core.nom and tests/all.nom are no longer needed now.
Diffstat (limited to 'tests/control_flow.nom')
-rw-r--r--tests/control_flow.nom5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/control_flow.nom b/tests/control_flow.nom
index 71d5f85..4ac3d8a 100644
--- a/tests/control_flow.nom
+++ b/tests/control_flow.nom
@@ -1,7 +1,8 @@
#..
Tests for the stuff defined in lib/control_flow.nom
-use "lib/core.nom"
+use "core"
+
do nothing
action [test conditionals]
@@ -189,3 +190,5 @@ try
%x <- 1
..and if it barfs: do nothing
assume (%x = 1) or barf "do/then always failed"
+
+say "Control flow test passed."