summaryrefslogtreecommitdiff
path: root/tests/stdio_ext_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stdio_ext_test.cpp')
-rw-r--r--tests/stdio_ext_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/stdio_ext_test.cpp b/tests/stdio_ext_test.cpp
index 849bf0bc1..d4616ef5f 100644
--- a/tests/stdio_ext_test.cpp
+++ b/tests/stdio_ext_test.cpp
@@ -93,7 +93,7 @@ TEST(stdio_ext, __fpurge) {
char buf[16];
char* s = fgets(buf, sizeof(buf), fp);
- ASSERT_TRUE(s != NULL);
+ ASSERT_TRUE(s != nullptr);
ASSERT_STREQ("b\n", s);
fclose(fp);