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

Unified Diff: net/websockets/websocket_stream_cookie_test.cc

Issue 1841863002: Update monet. (Closed) Base URL: https://github.com/domokit/monet.git@master
Patch Set: Created 4 years, 9 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_frame_test.cc ('k') | sdch/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/websockets/websocket_stream_cookie_test.cc
diff --git a/net/websockets/websocket_stream_cookie_test.cc b/net/websockets/websocket_stream_cookie_test.cc
index 9b819b5260b278186e9618bd44fdf1dc262e9e73..d1f41a75b4279e51d7bf4d620e9476b8e0d2e7cd 100644
--- a/net/websockets/websocket_stream_cookie_test.cc
+++ b/net/websockets/websocket_stream_cookie_test.cc
@@ -35,7 +35,8 @@ class TestBase : public WebSocketStreamCreateTestBase {
// We assume cookie_header ends with CRLF if not empty, as
// WebSocketStandardRequestWithCookies requires. Use AddCRLFIfNotEmpty
// in a call site.
- CHECK(cookie_header.empty() || EndsWith(cookie_header, "\r\n", true));
+ CHECK(cookie_header.empty() ||
+ base::EndsWith(cookie_header, "\r\n", base::CompareCase::SENSITIVE));
url_request_context_host_.SetExpectations(
WebSocketStandardRequestWithCookies(url.path(), url.host(), origin,
« no previous file with comments | « net/websockets/websocket_frame_test.cc ('k') | sdch/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698