aboutsummaryrefslogtreecommitdiff
path: root/tests/text.nom
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-06-15 00:40:36 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-06-15 00:40:40 -0700
commit5629b81f78c722e8001b8cee1628085a78a8ea9f (patch)
treefc3b36c3c4ac5176d8269e523109468f2ff6be77 /tests/text.nom
parentc161f48838ea13a98c37d50df030ad336be97171 (diff)
Updating tests.
Diffstat (limited to 'tests/text.nom')
-rw-r--r--tests/text.nom5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/text.nom b/tests/text.nom
index 134fff2..a74ac5b 100644
--- a/tests/text.nom
+++ b/tests/text.nom
@@ -10,8 +10,7 @@ assume (("asdf" with "X" instead of "s") = "aXdf") or barf "substitution failed"
assume ("\n" = (newline)) or barf "Text literals failed."
%x <- "\(green)hello\(reset color)"
assume (("x" + "y") = "xy")
-
-say "Text test passed."
+assume ((lines in "one\ntwo") = ["one", "two"])
immediately
parse [アクション %spec %body] as: action %spec %body
@@ -52,3 +51,5 @@ assume
block comment
..gap
..= "nogap"
+
+say "Text test passed."