Skip to content

Commit

Permalink
Fix integer operator test
Browse files Browse the repository at this point in the history
  • Loading branch information
7h3kk1d committed Oct 25, 2024
1 parent 00ab1de commit be06410
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/Test_Menhir.re
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ let tests = [
parser_test(
"Filter",
Filter(
Filter({act: (Eval, One), pat: Int(3) |> Exp.fresh}),
Filter({act: (Eval, All), pat: Int(3) |> Exp.fresh}),
Int(3) |> Exp.fresh,
)
|> Exp.fresh,
Expand All @@ -154,7 +154,7 @@ let tests = [
parser_test(
"Integer Ops",
BinOp(
Int(LessThan),
Int(GreaterThanOrEqual),
BinOp(
Int(Minus),
BinOp(
Expand All @@ -180,7 +180,7 @@ let tests = [
Int(8) |> Exp.fresh,
)
|> Exp.fresh,
"-1 + 2 - 3 / 4 * 5 ** 6 < 8" // TODO Add the remaining operators
"-1 + 2 - 3 / 4 * 5 ** 6 >= 8" // TODO Add the remaining operators. < is also currently broken
),
parser_test(
"Let binding with type ascription",
Expand Down

0 comments on commit be06410

Please sign in to comment.