make 0 in ★₀ optional

This commit is contained in:
rhiannon morris 2023-05-21 20:33:42 +02:00
parent 7c68cd9098
commit 3bbf0366c8
8 changed files with 56 additions and 56 deletions

View file

@ -116,8 +116,8 @@ tests = "parser" :- [
parseMatch term "Type4" `(TYPE 4 _),
parseMatch term "Type 100" `(TYPE 100 _),
parseMatch term "(Type 1000)" `(TYPE 1000 _),
parseFails term "Type",
parseFails term ""
parseMatch term "Type" `(TYPE 0 _),
parseMatch term "" `(TYPE 0 _)
],
"applications" :- [