Skip to content

Commit 31deb9e

Browse files
committed
fix expectFn test
1 parent f09ee5b commit 31deb9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

__tests__/expect_test.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ describe "Expect" (fun () ->
8585
expect (fun () -> 2) |> not_ |> toThrow);
8686

8787
test "expectFn" (fun () ->
88-
expectFn raise (Invalid_argument "foo") |> toThrowException (Invalid_argument "foo"));
88+
expectFn raise (Invalid_argument "foo") |> toThrow);
8989
);
9090

9191
describe "Expect.Operators" (fun () ->

0 commit comments

Comments
 (0)