Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1730)

Unified Diff: net/websockets/websocket_stream_test.cc

Issue 173523004: Use a better error message for bad status lines. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Update WebSocketStreamCreateTest.MalformedResponse Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/websockets/websocket_basic_handshake_stream.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/websockets/websocket_stream_test.cc
diff --git a/net/websockets/websocket_stream_test.cc b/net/websockets/websocket_stream_test.cc
index d89645355454e5d28520bc5a2e32f1c46fa03bbb..904b1a06bbabc832bd6f2274270337fe879a4154 100644
--- a/net/websockets/websocket_stream_test.cc
+++ b/net/websockets/websocket_stream_test.cc
@@ -703,7 +703,7 @@ TEST_F(WebSocketStreamCreateTest, MalformedResponse) {
kMalformedResponse);
RunUntilIdle();
EXPECT_TRUE(has_failed());
- EXPECT_EQ("Error during WebSocket handshake: Unexpected response code: 200",
+ EXPECT_EQ("Error during WebSocket handshake: Invalid status line",
failure_message());
}
« no previous file with comments | « net/websockets/websocket_basic_handshake_stream.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698