diff --git a/src/test/java/org/cactoos/text/MappedTest.java b/src/test/java/org/cactoos/text/MappedTest.java index 054c2efc3a..4320fd8eb8 100644 --- a/src/test/java/org/cactoos/text/MappedTest.java +++ b/src/test/java/org/cactoos/text/MappedTest.java @@ -26,6 +26,7 @@ import org.junit.jupiter.api.Test; import org.llorllale.cactoos.matchers.Assertion; import org.llorllale.cactoos.matchers.TextHasString; +import org.llorllale.cactoos.matchers.TextIs; /** * Tests for @{link Mapped}. @@ -42,7 +43,7 @@ void mapsWithFormat() { s -> String.format("<%s>", s), new TextOf("hi") ), - new TextHasString("") + new TextIs("") ).affirm(); } @@ -54,7 +55,7 @@ void maps() { String::toLowerCase, new TextOf("ABC") ), - new TextHasString("abc") + new TextIs("abc") ).affirm(); }