diff --git a/src/test/java/org/cactoos/func/AndTest.java b/src/test/java/org/cactoos/func/AndTest.java index e836e7a1dd..20506fc80c 100644 --- a/src/test/java/org/cactoos/func/AndTest.java +++ b/src/test/java/org/cactoos/func/AndTest.java @@ -72,7 +72,7 @@ public void oneFalse() throws Exception { public void allFalse() throws Exception { MatcherAssert.assertThat( new And( - new ArrayAsIterable<>( + new ArrayAsIterable>( new False(), new False(), new False() diff --git a/src/test/java/org/cactoos/func/OrTest.java b/src/test/java/org/cactoos/func/OrTest.java index d217fddfbc..ca5219cbdb 100644 --- a/src/test/java/org/cactoos/func/OrTest.java +++ b/src/test/java/org/cactoos/func/OrTest.java @@ -24,6 +24,7 @@ package org.cactoos.func; import java.util.Collections; +import org.cactoos.Scalar; import org.cactoos.list.ArrayAsIterable; import org.hamcrest.MatcherAssert; import org.hamcrest.Matchers; @@ -71,7 +72,7 @@ public void oneTrue() throws Exception { public void allTrue() throws Exception { MatcherAssert.assertThat( new Or( - new ArrayAsIterable<>( + new ArrayAsIterable>( new True(), new True(), new True(),