diff --git a/src/test/java/org/takes/facets/fork/TkForkTest.java b/src/test/java/org/takes/facets/fork/TkForkTest.java index ea33682fe..c87373c88 100644 --- a/src/test/java/org/takes/facets/fork/TkForkTest.java +++ b/src/test/java/org/takes/facets/fork/TkForkTest.java @@ -55,7 +55,7 @@ public void dispatchesByRegularExpression() throws IOException { Matchers.equalTo( Joiner.on("\r\n").join( "HTTP/1.1 200 OK", - String.format("Content-Length:%s", body.length()), + String.format("Content-Length: %s", body.length()), "Content-Type: text/plain", "", body diff --git a/src/test/java/org/takes/rs/RsTextTest.java b/src/test/java/org/takes/rs/RsTextTest.java index f2c0826c7..d7e03ab25 100644 --- a/src/test/java/org/takes/rs/RsTextTest.java +++ b/src/test/java/org/takes/rs/RsTextTest.java @@ -49,7 +49,7 @@ public void makesPlainTextResponse() throws IOException { Matchers.equalTo( Joiner.on("\r\n").join( "HTTP/1.1 200 OK", - String.format("Content-Length:%s", body.length()), + String.format("Content-Length: %s", body.length()), "Content-Type: text/plain", "", body diff --git a/src/test/java/org/takes/tk/TkHTMLTest.java b/src/test/java/org/takes/tk/TkHTMLTest.java index 3167eba0f..c47b5f0e5 100644 --- a/src/test/java/org/takes/tk/TkHTMLTest.java +++ b/src/test/java/org/takes/tk/TkHTMLTest.java @@ -52,7 +52,7 @@ public void createsTextResponse() throws IOException { Matchers.equalTo( Joiner.on("\r\n").join( "HTTP/1.1 200 OK", - String.format("Content-Length:%s", body.length()), + String.format("Content-Length: %s", body.length()), "Content-Type: text/html", "", body diff --git a/src/test/java/org/takes/tk/TkTextTest.java b/src/test/java/org/takes/tk/TkTextTest.java index 49ddf686a..6187e9de1 100644 --- a/src/test/java/org/takes/tk/TkTextTest.java +++ b/src/test/java/org/takes/tk/TkTextTest.java @@ -52,7 +52,7 @@ public void createsTextResponse() throws IOException { Matchers.equalTo( Joiner.on("\r\n").join( "HTTP/1.1 200 OK", - String.format("Content-Length:%s", body.length()), + String.format("Content-Length: %s", body.length()), "Content-Type: text/plain", "", body