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

Unified Diff: util/net/http_transport_test.cc

Issue 1044273002: Improve map insertions (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 5 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
Index: util/net/http_transport_test.cc
diff --git a/util/net/http_transport_test.cc b/util/net/http_transport_test.cc
index ddda100e6ebc3a7ba2e171db4cdf86b4eff9ba4a..375ccfc3d8c4b29a841bf9c5bc577e41047115a3 100644
--- a/util/net/http_transport_test.cc
+++ b/util/net/http_transport_test.cc
@@ -222,7 +222,7 @@ TEST(HTTPTransport, ValidFormData) {
builder.SetFormData("key2", "--abcdefg123");
HTTPHeaders headers;
- headers.insert(builder.GetContentType());
+ EXPECT_TRUE(headers.insert(builder.GetContentType()).second);
HTTPTransportTestFixture test(headers, builder.GetBodyStream(), 200,
&ValidFormData);

Powered by Google App Engine
This is Rietveld 408576698