diff options
Diffstat (limited to 'tests/Reader32Test.cpp')
-rw-r--r-- | tests/Reader32Test.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/Reader32Test.cpp b/tests/Reader32Test.cpp index cfa08b3c1f..c49e57c330 100644 --- a/tests/Reader32Test.cpp +++ b/tests/Reader32Test.cpp @@ -35,8 +35,8 @@ static void assert_empty(skiatest::Reporter* reporter, const SkReader32& reader) DEF_TEST(Reader32, reporter) { SkReader32 reader; assert_empty(reporter, reader); - REPORTER_ASSERT(reporter, NULL == reader.base()); - REPORTER_ASSERT(reporter, NULL == reader.peek()); + REPORTER_ASSERT(reporter, nullptr == reader.base()); + REPORTER_ASSERT(reporter, nullptr == reader.peek()); size_t i; @@ -74,8 +74,8 @@ DEF_TEST(Reader32, reporter) { reader.read(buffer, sizeof(data2)); REPORTER_ASSERT(reporter, !memcmp(data2, buffer, sizeof(data2))); - reader.setMemory(NULL, 0); + reader.setMemory(nullptr, 0); assert_empty(reporter, reader); - REPORTER_ASSERT(reporter, NULL == reader.base()); - REPORTER_ASSERT(reporter, NULL == reader.peek()); + REPORTER_ASSERT(reporter, nullptr == reader.base()); + REPORTER_ASSERT(reporter, nullptr == reader.peek()); } |