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

Unified Diff: components/sync/driver/sync_stopped_reporter_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/sync/driver/sync_stopped_reporter_unittest.cc
diff --git a/components/sync/driver/sync_stopped_reporter_unittest.cc b/components/sync/driver/sync_stopped_reporter_unittest.cc
index b565089ac83fe3ca357446b5a1f8434ba93c914f..70ab87f26f626fac38c709dec1670626925bc899 100644
--- a/components/sync/driver/sync_stopped_reporter_unittest.cc
+++ b/components/sync/driver/sync_stopped_reporter_unittest.cc
@@ -146,9 +146,9 @@ TEST_F(SyncStoppedReporterTest, DestructionDuringRequestHandler) {
SyncStoppedReporter ssr(test_url(), user_agent(), request_context(),
callback());
ssr.ReportSyncStopped(kAuthToken, kCacheGuid, kBirthday);
- EXPECT_FALSE(factory.GetFetcherByID(0) == nullptr);
+ EXPECT_NE(nullptr, factory.GetFetcherByID(0));
}
- EXPECT_TRUE(factory.GetFetcherByID(0) == nullptr);
+ EXPECT_EQ(nullptr, factory.GetFetcherByID(0));
}
TEST_F(SyncStoppedReporterTest, Timeout) {
« no previous file with comments | « components/sync/driver/data_type_manager_impl_unittest.cc ('k') | components/sync/engine_impl/syncer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698