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 |