Skip to content

Commit

Permalink
Fix expect tests on 32-bit systems
Browse files Browse the repository at this point in the history
  • Loading branch information
eilvelia committed Oct 1, 2022
1 parent 852220b commit 538dba2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parse.ml
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,8 @@ let%test_module "numbers" = (module struct
(e (float -300))) |}]
let%expect_test "hexadecimal prefix" =
test {|- 0x0523f15; - -0xdead_f00d; - 0xDEAD_F00D|};
[%expect {| ((- (int 5390101)) (- (int -3735941133)) (- (int 3735941133))) |}]
test {|- 0x0523f15; - -0xead_f00d; - 0xEAD_F00D|};
[%expect {| ((- (int 5390101)) (- (int -246280205)) (- (int 246280205))) |}]
let%expect_test "octal prefix" =
test {|- 0o713_; - -0o755|};
Expand Down

0 comments on commit 538dba2

Please sign in to comment.