Remove unnecessary `TextOf`
@@ -25,7 +25,6 @@ package org.takes.tk;
import java.nio.charset.StandardCharsets;
import org.apache.commons.io.FileUtils;
-import org.cactoos.text.TextOf;
import org.hamcrest.MatcherAssert;
import org.junit.Rule;
import org.junit.Test;
@@ -57,14 +56,12 @@ public final class TkFilesTest {
this.temp.newFile("a.txt"), "hello, world!", StandardCharsets.UTF_8
);
MatcherAssert.assertThat(
- new TextOf(
new RsPrint(
new TkFiles(this.temp.getRoot()).act(
new RqFake(
"GET", "/a.txt?hash=a1b2c3", ""
)
)
- ).asString()
),
new StartsWith("HTTP/1.1 200 OK")
);
