diff options
author | Eduardo Julian | 2017-10-16 18:39:20 -0400 |
---|---|---|
committer | Eduardo Julian | 2017-10-16 18:39:20 -0400 |
commit | b2b8a0ffda0661511d8aec5634aad314b1e6c710 (patch) | |
tree | 2ed0e67d6f93db070d2ba6000b69408eb730ca4e /stdlib/test | |
parent | a2c29fe44720003df06f7f14d0bf02332298b87f (diff) |
- Re-named lux/control/parser;opt to lux/control/parser;maybe.
Diffstat (limited to 'stdlib/test')
-rw-r--r-- | stdlib/test/test/lux/control/parser.lux | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/test/test/lux/control/parser.lux b/stdlib/test/test/lux/control/parser.lux index df3e9f364..ae3fc2041 100644 --- a/stdlib/test/test/lux/control/parser.lux +++ b/stdlib/test/test/lux/control/parser.lux @@ -82,10 +82,10 @@ (test "Can optionally succeed with some parser." (and (match (#;Some +123) (&;run (list (code;nat +123)) - (&;opt s;nat))) + (&;maybe s;nat))) (match #;None (&;run (list (code;int -123)) - (&;opt s;nat))))) + (&;maybe s;nat))))) (test "Can apply a parser 0 or more times." (and (match (list +123 +456 +789) |