Skip to content

Commit

Permalink
added test for not toContainEqual
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Suzdalnitski committed Oct 18, 2020
1 parent 7b8a5ca commit 519d60a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions __tests__/expect_test.ml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ describe "Expect" (fun () ->
expect [| "a"; "b"; "c" |] |> not_ |> toBeSupersetOf [| "a"; "d" |]);
test "not toContain" (fun () ->
expect [| "a"; "b"; "c" |] |> not_ |> toContain "d");
test "not toContainEqual" (fun () ->
expect [| {value = "a"}; {value = "b"}; {value = "c"} |] |> not_ |> toContainEqual {value = "d"});
test "not toContainString" (fun () ->
expect "banana" |> not_ |> toContainString "nanan");
test "not toHaveLength" (fun () ->
Expand Down

0 comments on commit 519d60a

Please sign in to comment.