Skip to content

Commit

Permalink
#loops: types
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jun 21, 2017
1 parent 6f03805 commit b867f67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/java/org/cactoos/func/AndTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -117,7 +118,7 @@ public void iteratesEmptyList() {
MatcherAssert.assertThat(
"Can't iterate a list",
new And(
new MappedIterable<>(
new MappedIterable<String, Scalar<Boolean>>(
Collections.emptyList(),
new ProcAsFunc<>(list::add, () -> true)
)
Expand Down

0 comments on commit b867f67

Please sign in to comment.