Skip to content

Commit

Permalink
Merge branch '__rultor'
Browse files Browse the repository at this point in the history
  • Loading branch information
rultor committed Jun 28, 2017
2 parents 884896c + c4969c8 commit d4e4894
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/test/java/org/cactoos/list/ReverseIterableTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@
*/
package org.cactoos.list;

import org.cactoos.TextHasString;
import org.cactoos.text.JoinedText;
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
import org.junit.Test;

/**
Expand All @@ -40,15 +41,15 @@ public final class ReverseIterableTest {
public void reversesIterable() {
MatcherAssert.assertThat(
"Can't reverse an iterable",
String.join(
new JoinedText(
" ",
new ReverseIterable<>(
new ArrayAsIterable<>(
"hello", "world", "dude"
)
)
),
Matchers.equalTo("dude world hello")
new TextHasString("dude world hello")
);
}

Expand Down

0 comments on commit d4e4894

Please sign in to comment.