diff options
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) |