diff options
Diffstat (limited to 'tests/helpers.c')
-rw-r--r-- | tests/helpers.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/helpers.c b/tests/helpers.c index e2e652ed..271fb483 100644 --- a/tests/helpers.c +++ b/tests/helpers.c @@ -45,6 +45,7 @@ void strcat_realloc_test_success(void **state) const char src0[] = "hello"; const char src1[] = " world"; char *dest = calloc(1, 1); + assert_non_null(dest); dest = strcat_realloc(dest, src0); dest = strcat_realloc(dest, src1); assert_string_equal("hello world", dest); |