Skip to content

Commit

Permalink
Fixed indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
purplefox committed Oct 2, 2015
1 parent 7a37c36 commit 1e56c68
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions src/test/java/io/vertx/test/core/WebsocketTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -1273,17 +1273,12 @@ public void httpClientWebsocketConnectionFailureHandlerShouldBeCalled() throws E
String nonExistingHost = "idont.even.exist";
int port = 7867;
HttpClient client = vertx.createHttpClient();

client.websocket(port, nonExistingHost, "", websocket -> {
websocket.handler(data -> {
fail("connection should not succeed");
}
);
}
, throwable -> {
testComplete();
});
await();
fail("connection should not succeed");
});
}, throwable -> testComplete());
await();
}

}

0 comments on commit 1e56c68

Please sign in to comment.