Skip to content

Commit

Permalink
Make a random test fail to see how it would look like in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
vlsi committed May 28, 2022
1 parent 0c5be32 commit c2a2457
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ void flatMapRectangles(@ForAll Random random) {
falsifier(x -> !x.equals(asList("a", "b")))
);

assertThat(shrunkResult).containsExactly("a", "b");
assertThat(shrunkResult).containsExactly("a", "b", "c", "d");
}

private ListArbitrary<String> listsOfLength(int n) {
Expand Down

0 comments on commit c2a2457

Please sign in to comment.