| Index: chrome/browser/sync/test/integration/sync_datatype_helper.cc
|
| diff --git a/chrome/browser/sync/test/integration/sync_datatype_helper.cc b/chrome/browser/sync/test/integration/sync_datatype_helper.cc
|
| index b6a22429c18e7281ff4bba0ad7d8b063d054e8c0..be6a44d0d9cce9a5b18056fd7688521697d93d5b 100644
|
| --- a/chrome/browser/sync/test/integration/sync_datatype_helper.cc
|
| +++ b/chrome/browser/sync/test/integration/sync_datatype_helper.cc
|
| @@ -16,13 +16,13 @@ static SyncTest* test = nullptr;
|
| namespace sync_datatype_helper {
|
|
|
| void AssociateWithTest(SyncTest* test) {
|
| - ASSERT_TRUE(test != nullptr) << "Cannot associate with null test.";
|
| - ASSERT_TRUE(::test == nullptr) << "Already associated with a test.";
|
| + ASSERT_NE(nullptr, test) << "Cannot associate with null test.";
|
| + ASSERT_EQ(nullptr, ::test) << "Already associated with a test.";
|
| ::test = test;
|
| }
|
|
|
| SyncTest* test() {
|
| - EXPECT_TRUE(::test != nullptr) << "Must call AssociateWithTest first.";
|
| + EXPECT_NE(nullptr, ::test) << "Must call AssociateWithTest first.";
|
| return ::test;
|
| }
|
|
|
|
|