Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
PieterOlivier committed Jan 28, 2025
1 parent 5d629fc commit fc863d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import IO;
Tree parseStat(str input, bool visualize=false)
= parser(#Stat, allowRecovery=true, allowAmbiguity=true)(input, |unknown:///?visualize=<"<visualize>">|);

test bool exprOk() = checkRecovery(#Stat, "1+2+3;", []);
test bool exprOk() = checkRecovery(#Stat, "1+2;", []);

test bool exprUnknownTerminator() = checkRecovery(#Stat, "1+2:", [":"], visualize=false);

Expand Down

0 comments on commit fc863d1

Please sign in to comment.