From b867f676bdde99a94d7efe338086eb88930290f7 Mon Sep 17 00:00:00 2001 From: yegor256 Date: Wed, 21 Jun 2017 21:42:41 +0300 Subject: [PATCH] #loops: types --- src/test/java/org/cactoos/func/AndTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/java/org/cactoos/func/AndTest.java b/src/test/java/org/cactoos/func/AndTest.java index 443eaaf382..e836e7a1dd 100644 --- a/src/test/java/org/cactoos/func/AndTest.java +++ b/src/test/java/org/cactoos/func/AndTest.java @@ -26,6 +26,7 @@ import java.util.Collections; import java.util.LinkedList; import java.util.List; +import org.cactoos.Scalar; import org.cactoos.ScalarHasValue; import org.cactoos.list.ArrayAsIterable; import org.cactoos.list.MappedIterable; @@ -117,7 +118,7 @@ public void iteratesEmptyList() { MatcherAssert.assertThat( "Can't iterate a list", new And( - new MappedIterable<>( + new MappedIterable>( Collections.emptyList(), new ProcAsFunc<>(list::add, () -> true) )