Skip to content

Commit

Permalink
fixed checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
pstorch committed Aug 25, 2016
1 parent feab180 commit d11a103
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/test/java/com/jcabi/http/mock/MkContainerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,12 @@ public void answersConditionally() throws Exception {
*/
@Test
public void answersBinary() throws Exception {
final byte[] body = {0x00, 0x01, 0x45, 0x21, (byte)0xFF};
final byte[] body = {0x00, 0x01, 0x45, 0x21, (byte) 0xFF};
try (final MkContainer container = new MkGrizzlyContainer()) {
container.next(new MkAnswer.Simple(HttpURLConnection.HTTP_OK).withBody(body)).start();
container.next(
new MkAnswer.Simple(HttpURLConnection.HTTP_OK)
.withBody(body)
).start();
new JdkRequest(container.home())
.through(VerboseWire.class)
.fetch().as(RestResponse.class)
Expand Down

0 comments on commit d11a103

Please sign in to comment.