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

Unified Diff: chrome/browser/sync/test/integration/sync_auth_test.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: chrome/browser/sync/test/integration/sync_auth_test.cc
diff --git a/chrome/browser/sync/test/integration/sync_auth_test.cc b/chrome/browser/sync/test/integration/sync_auth_test.cc
index 1e7391e143c512f63acae2e8f917eb2fc840fd06..03ce2e663bf8f06f511e8173526760c13f63b382 100644
--- a/chrome/browser/sync/test/integration/sync_auth_test.cc
+++ b/chrome/browser/sync/test/integration/sync_auth_test.cc
@@ -81,7 +81,7 @@ class SyncAuthTest : public SyncTest {
int bookmark_index = GetNextBookmarkIndex();
std::string title = base::StringPrintf("Bookmark %d", bookmark_index);
GURL url = GURL(base::StringPrintf("http://www.foo%d.com", bookmark_index));
- EXPECT_TRUE(AddURL(0, title, url) != nullptr);
+ EXPECT_NE(nullptr, AddURL(0, title, url));
// Run until the bookmark is committed or an auth error is encountered.
TestForAuthError(GetSyncService(0)).Wait();

Powered by Google App Engine
This is Rietveld 408576698