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

Unified Diff: components/browser_sync/profile_sync_service_typed_url_unittest.cc

Issue 2455343003: [Sync] Replaced ASSERT/EXPECT_TRUE/FALSE with expected/actual checks. (Closed)
Patch Set: \Updates for Max and rebase. Created 4 years, 1 month 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: components/browser_sync/profile_sync_service_typed_url_unittest.cc
diff --git a/components/browser_sync/profile_sync_service_typed_url_unittest.cc b/components/browser_sync/profile_sync_service_typed_url_unittest.cc
index 95421c3a75e563c501983043423cd451e616dcb6..bab7b5be9dedc715a24b50aff2f2cb3f60931c1a 100644
--- a/components/browser_sync/profile_sync_service_typed_url_unittest.cc
+++ b/components/browser_sync/profile_sync_service_typed_url_unittest.cc
@@ -512,7 +512,7 @@ TEST_F(ProfileSyncServiceTypedUrlTest, HasNativeHasSyncNoMerge) {
history::URLRows new_sync_entries;
GetTypedUrlsFromSyncDB(&new_sync_entries);
- EXPECT_TRUE(new_sync_entries.size() == expected.size());
+ EXPECT_EQ(expected.size(), new_sync_entries.size());
for (history::URLRows::iterator entry = new_sync_entries.begin();
entry != new_sync_entries.end(); ++entry) {
EXPECT_TRUE(URLsEqual(expected[entry->url().spec()], *entry));

Powered by Google App Engine
This is Rietveld 408576698