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

Unified Diff: third_party/crashpad/crashpad/util/stdlib/map_insert_test.cc

Issue 2804713002: Update Crashpad to b4095401639ebe2ad33169e5c1d994065cbff1b8 (Closed)
Patch Set: Created 3 years, 8 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: third_party/crashpad/crashpad/util/stdlib/map_insert_test.cc
diff --git a/third_party/crashpad/crashpad/util/stdlib/map_insert_test.cc b/third_party/crashpad/crashpad/util/stdlib/map_insert_test.cc
index d3197b96aa53974a732a41087a49606bc69f1df6..9dab8437d2dca6cd297c5b9adae63d34a4f9b7e0 100644
--- a/third_party/crashpad/crashpad/util/stdlib/map_insert_test.cc
+++ b/third_party/crashpad/crashpad/util/stdlib/map_insert_test.cc
@@ -28,25 +28,25 @@ TEST(MapInsert, MapInsertOrReplace) {
EXPECT_TRUE(MapInsertOrReplace(&map, "key", 1, &old_value));
std::map<std::string, int> expect_map;
expect_map["key"] = 1;
- EXPECT_EQ(expect_map, map);
+ EXPECT_EQ(map, expect_map);
EXPECT_FALSE(MapInsertOrReplace(&map, "key", 2, &old_value));
- EXPECT_EQ(1, old_value);
+ EXPECT_EQ(old_value, 1);
expect_map["key"] = 2;
- EXPECT_EQ(expect_map, map);
+ EXPECT_EQ(map, expect_map);
EXPECT_TRUE(MapInsertOrReplace(&map, "another", 3, &old_value));
expect_map["another"] = 3;
- EXPECT_EQ(expect_map, map);
+ EXPECT_EQ(map, expect_map);
// Make sure nullptr is accepted as old_value.
EXPECT_TRUE(MapInsertOrReplace(&map, "yet another", 5, nullptr));
expect_map["yet another"] = 5;
- EXPECT_EQ(expect_map, map);
+ EXPECT_EQ(map, expect_map);
EXPECT_FALSE(MapInsertOrReplace(&map, "yet another", 6, nullptr));
expect_map["yet another"] = 6;
- EXPECT_EQ(expect_map, map);
+ EXPECT_EQ(map, expect_map);
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698