aboutsummaryrefslogtreecommitdiff
path: root/examples/parser_tests.nom
diff options
context:
space:
mode:
Diffstat (limited to 'examples/parser_tests.nom')
-rw-r--r--examples/parser_tests.nom8
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/parser_tests.nom b/examples/parser_tests.nom
index 4f8af85..d506d2a 100644
--- a/examples/parser_tests.nom
+++ b/examples/parser_tests.nom
@@ -192,6 +192,12 @@ test:
test:
don't fuck this up
..yields ".."
- |Call [don't fuck this up]!
+ |Call [don 't fuck this up]!
+
+test:
+ %Brian's hat
+..yields ".."
+ |Call [% 's hat]:
+ | Var[Brian]
say "All tests passed!"