We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34507c9 commit 255261eCopy full SHA for 255261e
src/test/java/org/cactoos/http/HtResponseTest.java
@@ -27,7 +27,6 @@
27
import org.cactoos.text.FormattedText;
28
import org.cactoos.text.JoinedText;
29
import org.cactoos.text.TextOf;
30
-import org.cactoos.text.UncheckedText;
31
import org.hamcrest.MatcherAssert;
32
import org.hamcrest.Matchers;
33
import org.junit.Test;
@@ -55,11 +54,9 @@ public void worksFine() throws IOException {
55
54
new JoinedText(
56
"\r\n",
57
"GET / HTTP/1.1",
58
- new UncheckedText(
59
- new FormattedText(
60
- "Host:%s", home.getHost()
61
- )
62
- ).asString()
+ new FormattedText(
+ "Host:%s", home.getHost()
+ ).asString()
63
).asString()
64
)
65
).asString(),
0 commit comments