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

Unified Diff: net/websockets/websocket_extension_parser_test.cc

Issue 885443002: Roll Chrome into Mojo. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Rebase to ToT mojo Created 5 years, 11 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_end_to_end_test.cc ('k') | net/websockets/websocket_handshake_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/websockets/websocket_extension_parser_test.cc
diff --git a/net/websockets/websocket_extension_parser_test.cc b/net/websockets/websocket_extension_parser_test.cc
index dc7dc859d832b2f492f3a325cd87fe3183b6b93d..c19460cb88940fe5b002b5fe45ee278c223d4a8e 100644
--- a/net/websockets/websocket_extension_parser_test.cc
+++ b/net/websockets/websocket_extension_parser_test.cc
@@ -65,7 +65,7 @@ TEST(WebSocketExtensionParserTest, ParseOneExtensionWithParams) {
}
TEST(WebSocketExtensionParserTest, InvalidPatterns) {
- const char* patterns[] = {
+ const char* const patterns[] = {
"fo\ao", // control in extension name
"fo\x01o", // control in extension name
"fo<o", // separator in extension name
« no previous file with comments | « net/websockets/websocket_end_to_end_test.cc ('k') | net/websockets/websocket_handshake_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698