# | Line 564 | Line 564 | public class Collection8Test extends JSR | |
---|---|---|
564 | final Object two = impl.makeElement(2); | |
565 | final Consumer checkSanity = x -> assertTrue(x == one || x == two); | |
566 | final Consumer<Object[]> checkArraySanity = array -> { | |
567 | < | assertTrue(array.length <= 2); |
567 | > | // assertTrue(array.length <= 2); // duplicates are permitted |
568 | for (Object x : array) assertTrue(x == one || x == two); | |
569 | }; | |
570 | final Object[] emptyArray = |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |