[COLLECTIONS-738]: Remove the redundant assertNull in IterableUtilsTest.find.
This commit is contained in:
parent
be28c1d647
commit
33428eb9eb
|
@ -274,7 +274,7 @@ public class IterableUtilsTest {
|
|||
assertTrue(test == null);
|
||||
assertNull(IterableUtils.find(null,testPredicate));
|
||||
try {
|
||||
assertNull(IterableUtils.find(iterableA, null));
|
||||
IterableUtils.find(iterableA, null);
|
||||
fail("expecting NullPointerException");
|
||||
} catch (final NullPointerException npe) {
|
||||
// expected
|
||||
|
|
Loading…
Reference in New Issue