mirror of
https://github.com/apache/commons-collections.git
synced 2025-02-17 15:35:00 +00:00
[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…
x
Reference in New Issue
Block a user