aboutsummaryrefslogtreecommitdiff
path: root/tests/operators.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/operators.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/operators.nom')
-rw-r--r--tests/operators.nom4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/operators.nom b/tests/operators.nom
index e3bd0b9..1a138cb 100644
--- a/tests/operators.nom
+++ b/tests/operators.nom
@@ -1,7 +1,7 @@
#..
Tests for the stuff defined in lib/operators.nom
-use "lib/core.nom"
+use "core"
assume (({x:5}'s "x") = 5) or barf "indexing doesn't work."
try: % <- ({}'s "[[[\n]]]")
@@ -74,3 +74,5 @@ assume (%x = 2) or barf "+<- failed"
assume (%x = 4) or barf "*<- failed"
wrap %x around 3
assume (%x = 1) or barf "wrap around failed"
+
+say "Operator test passed."