diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2017-09-21 02:33:04 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2017-09-21 02:33:04 -0700 |
| commit | 5f2db8da0e99fca282265b232330f3f432b94373 (patch) | |
| tree | 5c27a1f958b55a15b0e35139165c885574d4fa3a /examples/parser_tests.nom | |
| parent | 371548150618d5b3501f388972077b5d035f7d8a (diff) | |
Everything fixed up and some reduced lua codespew too!
Diffstat (limited to 'examples/parser_tests.nom')
| -rw-r--r-- | examples/parser_tests.nom | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/parser_tests.nom b/examples/parser_tests.nom index b1eb23b..b91266e 100644 --- a/examples/parser_tests.nom +++ b/examples/parser_tests.nom @@ -1,4 +1,5 @@ require "lib/core.nom" +require "lib/testing.nom" test: say "foo" ..yields ".." @@ -148,12 +149,12 @@ test: z ..yields ".." |Call [if % % else %]: - | Var[x] + | Var["x"] | Thunk: | Call [x]! | Thunk: | Call [if % % else %]: - | Var[y] + | Var["y"] | Thunk: | Call [y]! | Thunk: @@ -169,6 +170,6 @@ test: %Brian's hat ..yields ".." |Call [% 's hat]: - | Var[Brian] + | Var["Brian"] say "All tests passed!" |
