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

Unified Diff: base/field_trial_unittest.cc

Issue 202057: Replace EXPECT_EQ(NULL, foo) with EXPECT_TRUE(NULL == foo).... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 3 months 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: base/field_trial_unittest.cc
===================================================================
--- base/field_trial_unittest.cc (revision 27387)
+++ base/field_trial_unittest.cc (working copy)
@@ -160,8 +160,8 @@
}
TEST_F(FieldTrialTest, Restore) {
- EXPECT_EQ(NULL, FieldTrialList::Find("Some_name"));
- EXPECT_EQ(NULL, FieldTrialList::Find("xxx"));
+ EXPECT_TRUE(FieldTrialList::Find("Some_name") == NULL);
+ EXPECT_TRUE(FieldTrialList::Find("xxx") == NULL);
FieldTrialList::StringAugmentsState("Some_name/Winner/xxx/yyyy/");
« no previous file with comments | « no previous file | base/waitable_event_watcher_unittest.cc » ('j') | net/http/http_network_transaction_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698