From 5629b81f78c722e8001b8cee1628085a78a8ea9f Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 15 Jun 2018 00:40:36 -0700 Subject: Updating tests. --- tests/text.nom | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/text.nom') 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." -- cgit v1.2.3