aboutsummaryrefslogtreecommitdiff
path: root/tests/text.nom
diff options
context:
space:
mode:
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."