Index: tests/standalone/io/web_socket_test.dart |
diff --git a/tests/standalone/io/web_socket_test.dart b/tests/standalone/io/web_socket_test.dart |
index 8b9e4be5b5909fdf268e20e8f3bb5150da07edc5..68958ec8df62d444dd14639f67be11302103e9d0 100644 |
--- a/tests/standalone/io/web_socket_test.dart |
+++ b/tests/standalone/io/web_socket_test.dart |
@@ -114,6 +114,7 @@ void testNoUpgrade() { |
}; |
HttpClientConnection conn = client.get("127.0.0.1", server.port, "/"); |
+ conn.followRedirects = false; |
WebSocketClientConnection wsconn = new WebSocketClientConnection(conn); |
wsconn.onNoUpgrade = (response) { |
Expect.equals(HttpStatus.MOVED_PERMANENTLY, response.statusCode); |