Skip to content

Commit

Permalink
fix expectFn test
Browse files Browse the repository at this point in the history
  • Loading branch information
glennsl committed Oct 29, 2020
1 parent f09ee5b commit 31deb9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __tests__/expect_test.ml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ describe "Expect" (fun () ->
expect (fun () -> 2) |> not_ |> toThrow);

test "expectFn" (fun () ->
expectFn raise (Invalid_argument "foo") |> toThrowException (Invalid_argument "foo"));
expectFn raise (Invalid_argument "foo") |> toThrow);
);

describe "Expect.Operators" (fun () ->
Expand Down

0 comments on commit 31deb9e

Please sign in to comment.