[COLLECTIONS-738]: Remove the redundant assertNull in IterableUtilsTest.find.

This commit is contained in:
Pengyu Nie 2019-11-29 11:15:44 -06:00 committed by Bruno P. Kinoshita
parent be28c1d647
commit 33428eb9eb
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ public class IterableUtilsTest {
assertTrue(test == null); assertTrue(test == null);
assertNull(IterableUtils.find(null,testPredicate)); assertNull(IterableUtils.find(null,testPredicate));
try { try {
assertNull(IterableUtils.find(iterableA, null)); IterableUtils.find(iterableA, null);
fail("expecting NullPointerException"); fail("expecting NullPointerException");
} catch (final NullPointerException npe) { } catch (final NullPointerException npe) {
// expected // expected