Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Wilkins2014-07-23 02:49:05 -0400
committerGreg Wilkins2014-07-23 02:49:05 -0400
commit3a6879d3e8efb895bf27803735785428f7ed3659 (patch)
treeda489d9b9077b35db3ea20231f35805cf675cf15 /jetty-websocket
parente199b671bb486432498a55b83e5ede89f75d212c (diff)
downloadorg.eclipse.jetty.project-3a6879d3e8efb895bf27803735785428f7ed3659.tar.gz
org.eclipse.jetty.project-3a6879d3e8efb895bf27803735785428f7ed3659.tar.xz
org.eclipse.jetty.project-3a6879d3e8efb895bf27803735785428f7ed3659.zip
expanded tabs in indents
Diffstat (limited to 'jetty-websocket')
-rw-r--r--jetty-websocket/websocket-client/src/test/java/org/eclipse/jetty/websocket/client/ClientConnectTest.java22
1 files changed, 11 insertions, 11 deletions
diff --git a/jetty-websocket/websocket-client/src/test/java/org/eclipse/jetty/websocket/client/ClientConnectTest.java b/jetty-websocket/websocket-client/src/test/java/org/eclipse/jetty/websocket/client/ClientConnectTest.java
index 1bc082eb75..ac4c4130f7 100644
--- a/jetty-websocket/websocket-client/src/test/java/org/eclipse/jetty/websocket/client/ClientConnectTest.java
+++ b/jetty-websocket/websocket-client/src/test/java/org/eclipse/jetty/websocket/client/ClientConnectTest.java
@@ -67,8 +67,8 @@ public class ClientConnectTest
Throwable cause = e.getCause();
if(!errorClass.isInstance(cause))
{
- cause.printStackTrace(System.err);
- Assert.assertThat("ExecutionException.cause",cause,instanceOf(errorClass));
+ cause.printStackTrace(System.err);
+ Assert.assertThat("ExecutionException.cause",cause,instanceOf(errorClass));
}
// Validate websocket captured cause
@@ -359,15 +359,15 @@ public class ClientConnectTest
}
catch (ExecutionException e)
{
- if(OS.IS_WINDOWS)
- {
- // On windows, this is a SocketTimeoutException
- assertExpectedError(e, wsocket, SocketTimeoutException.class);
- } else
- {
- // Expected path - java.net.ConnectException
- assertExpectedError(e,wsocket,ConnectException.class);
- }
+ if(OS.IS_WINDOWS)
+ {
+ // On windows, this is a SocketTimeoutException
+ assertExpectedError(e, wsocket, SocketTimeoutException.class);
+ } else
+ {
+ // Expected path - java.net.ConnectException
+ assertExpectedError(e,wsocket,ConnectException.class);
+ }
}
}

Back to the top