Enabled a test for NullPredicate
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1540862 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0f5b35aa8d
commit
b34856498e
|
@ -29,6 +29,7 @@ public class NullPredicateTest extends AbstractPredicateTest {
|
||||||
assertTrue(nullPredicate(), null);
|
assertTrue(nullPredicate(), null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
public void ensurePredicateCanBeTypedWithoutWarning() throws Exception {
|
public void ensurePredicateCanBeTypedWithoutWarning() throws Exception {
|
||||||
final Predicate<String> predicate = NullPredicate.nullPredicate();
|
final Predicate<String> predicate = NullPredicate.nullPredicate();
|
||||||
assertFalse(predicate, cString);
|
assertFalse(predicate, cString);
|
||||||
|
|
Loading…
Reference in New Issue