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 b867f67 commit 207c18f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/test/java/org/cactoos/func/AndTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public void oneFalse() throws Exception {
public void allFalse() throws Exception {
MatcherAssert.assertThat(
new And(
new ArrayAsIterable<>(
new ArrayAsIterable<Scalar<Boolean>>(
new False(),
new False(),
new False()
Expand Down
3 changes: 2 additions & 1 deletion src/test/java/org/cactoos/func/OrTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -71,7 +72,7 @@ public void oneTrue() throws Exception {
public void allTrue() throws Exception {
MatcherAssert.assertThat(
new Or(
new ArrayAsIterable<>(
new ArrayAsIterable<Scalar<Boolean>>(
new True(),
new True(),
new True(),
Expand Down

0 comments on commit 207c18f

Please sign in to comment.