Index: base/id_map_unittest.cc |
diff --git a/base/id_map_unittest.cc b/base/id_map_unittest.cc |
index c005a69057869b107e5dcde6b8467c9509a0caf6..a9fb2b9decd198adac688f603b45b23026f3b238 100644 |
--- a/base/id_map_unittest.cc |
+++ b/base/id_map_unittest.cc |
@@ -53,6 +53,9 @@ TEST(IDMapTest, Basic) { |
EXPECT_EQ(&obj1, map.Lookup(1)); |
EXPECT_EQ(&obj2, map.Lookup(2)); |
+ EXPECT_EQ(&obj2, map.Replace(2, &obj1)); |
+ EXPECT_EQ(&obj1, map.Lookup(2)); |
+ |
EXPECT_EQ(0, map.iteration_depth()); |
} |