Index: chrome/browser/sync/engine/model_safe_worker_unittest.cc |
diff --git a/chrome/browser/sync/engine/model_safe_worker_unittest.cc b/chrome/browser/sync/engine/model_safe_worker_unittest.cc |
index 0fe381f331fb98be78825e337e976eeeedf5f1b4..d701e36179bb56c77c030326a25588814d221a2c 100644 |
--- a/chrome/browser/sync/engine/model_safe_worker_unittest.cc |
+++ b/chrome/browser/sync/engine/model_safe_worker_unittest.cc |
@@ -44,11 +44,11 @@ TEST_F(ModelSafeWorkerTest, GetRoutingInfoTypes) { |
routing_info[syncable::BOOKMARKS] = GROUP_PASSIVE; |
routing_info[syncable::NIGORI] = GROUP_UI; |
routing_info[syncable::PREFERENCES] = GROUP_DB; |
- syncable::ModelTypeSet expected_types; |
- expected_types.insert(syncable::BOOKMARKS); |
- expected_types.insert(syncable::NIGORI); |
- expected_types.insert(syncable::PREFERENCES); |
- EXPECT_EQ(expected_types, GetRoutingInfoTypes(routing_info)); |
+ const syncable::ModelEnumSet expected_types( |
+ syncable::BOOKMARKS, |
+ syncable::NIGORI, |
+ syncable::PREFERENCES); |
+ EXPECT_TRUE(GetRoutingInfoTypes(routing_info).Equals(expected_types)); |
} |
} // namespace |