diff options
Diffstat (limited to 'tests/PDFDocumentTest.cpp')
-rw-r--r-- | tests/PDFDocumentTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PDFDocumentTest.cpp b/tests/PDFDocumentTest.cpp index f9fcdff6a2..04c3ede6aa 100644 --- a/tests/PDFDocumentTest.cpp +++ b/tests/PDFDocumentTest.cpp @@ -82,7 +82,7 @@ static void test_file(skiatest::Reporter* reporter) { doc->close(); FILE* file = fopen(path.c_str(), "r"); - REPORTER_ASSERT(reporter, file != NULL); + REPORTER_ASSERT(reporter, file != nullptr); char header[100]; REPORTER_ASSERT(reporter, fread(header, 4, 1, file) != 0); REPORTER_ASSERT(reporter, strncmp(header, "%PDF", 4) == 0); |