This commit is contained in:
Smaug123
2024-01-22 20:49:54 +00:00
parent 6c26bcb5eb
commit b14819bb1a
2 changed files with 106 additions and 40 deletions

View File

@@ -45,6 +45,6 @@ module TestParser =
let ``Parser looks plausible`` (input : string, expected : Expr) =
let tokens = Lexer.lex input |> List.ofSeq
let expr, remaining = Parser.parse input tokens
let expr, remaining = Parser.parse Parser.basicParser input tokens
expr |> shouldEqual expected
remaining |> shouldEqual []