From 31deb9e488c1d07e8175d394253e4c2ddb940a3a Mon Sep 17 00:00:00 2001 From: glennsl Date: Thu, 29 Oct 2020 16:00:27 +0100 Subject: [PATCH] fix expectFn test --- __tests__/expect_test.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__tests__/expect_test.ml b/__tests__/expect_test.ml index dc44e51..bd3fb06 100644 --- a/__tests__/expect_test.ml +++ b/__tests__/expect_test.ml @@ -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 () ->