diff -r f1e4c6dabfb4 -r 38ee262e8b94 test/test_allocator.c --- a/test/test_allocator.c Sun Sep 26 17:58:27 2021 +0200 +++ b/test/test_allocator.c Sun Sep 26 18:01:51 2021 +0200 @@ -60,12 +60,6 @@ free(test); } -void test_reallocate_null(void) { - int rval = cxReallocate(cxDefaultAllocator, NULL, 16); - CU_ASSERT_NOT_EQUAL(rval, 0); - CU_ASSERT_EQUAL(errno, EINVAL); -} - void test_default_calloc(void) { void *test = cxCalloc(cxDefaultAllocator, 8, 2); CU_ASSERT_PTR_NOT_NULL(test) @@ -96,7 +90,6 @@ !CU_add_test(suite, "test of malloc()", test_default_malloc)|| !CU_add_test(suite, "test of realloc()", test_default_realloc) || !CU_add_test(suite, "test of realloc() via cxReallocate", test_default_reallocate) || - !CU_add_test(suite, "test of cxReallocate with NULL", test_reallocate_null) || !CU_add_test(suite, "test of calloc()", test_default_calloc) || !CU_add_test(suite, "test of free()", test_default_free) ) {