summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/unit/core/test-string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/core/test-string.cpp b/tests/unit/core/test-string.cpp
index 20a782cc8..97f761d47 100644
--- a/tests/unit/core/test-string.cpp
+++ b/tests/unit/core/test-string.cpp
@@ -111,7 +111,7 @@ TEST(String, Duplicate)
const char *str_test = "test";
char *str;
- str = string_strndup (NULL, 0);
+ POINTERS_EQUAL(NULL, string_strndup (NULL, 0));
str = string_strndup (str_test, 0);
CHECK(str);