From 2ed0dc8fff280559547838379893536871322dc6 Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Mon, 25 Feb 2013 16:52:56 -0700 Subject: [PATCH] Fixing websocket testcase --- .../org/eclipse/jetty/websocket/WebSocketMinVersionTest.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/jetty-websocket/src/test/java/org/eclipse/jetty/websocket/WebSocketMinVersionTest.java b/jetty-websocket/src/test/java/org/eclipse/jetty/websocket/WebSocketMinVersionTest.java index 5fb4713c0f2..141231d63e3 100644 --- a/jetty-websocket/src/test/java/org/eclipse/jetty/websocket/WebSocketMinVersionTest.java +++ b/jetty-websocket/src/test/java/org/eclipse/jetty/websocket/WebSocketMinVersionTest.java @@ -93,10 +93,7 @@ public class WebSocketMinVersionTest } catch(IllegalStateException e) { String respHeader = e.getMessage(); - Assert.assertThat("Response Header", respHeader, allOf( - containsString("HTTP/1.1 400 Unsupported"), - containsString("minVersion [8]"), - containsString("[13, 8]"))); + Assert.assertThat("Response Header", respHeader, containsString("HTTP/1.1 400 Unsupported websocket version specification")); } finally {