1.1 --- a/test/list_tests.c Wed May 16 19:33:31 2018 +0200 1.2 +++ b/test/list_tests.c Thu May 17 11:13:02 2018 +0200 1.3 @@ -68,27 +68,6 @@ 1.4 ucx_list_free(list); 1.5 } 1.6 1.7 -UCX_TEST(test_ucx_list_append_once) { 1.8 - UcxList *list, *first; 1.9 - list = first = ucx_list_append_once(NULL, (void*)"Hello", ucx_cmp_str, NULL); 1.10 - UCX_TEST_BEGIN 1.11 - 1.12 - UCX_TEST_ASSERT(strncmp((const char*)list->data, "Hello", 5) == 0, 1.13 - "failed"); 1.14 - 1.15 - list = ucx_list_append_once(list, (void*)"Hello", ucx_cmp_str, NULL); 1.16 - list = ucx_list_append_once(list, (void*)" World!", ucx_cmp_str, NULL); 1.17 - 1.18 - UCX_TEST_ASSERT(list == first, "does not return first element"); 1.19 - UCX_TEST_ASSERT(strncmp((const char*)list->next->data, " World!", 7) == 0, 1.20 - "'Hello' was not inserted _once_"); 1.21 - UCX_TEST_ASSERT(list->next->prev == list, "failed"); 1.22 - UCX_TEST_ASSERT(list->next->next == NULL, "right not terminated"); 1.23 - UCX_TEST_END 1.24 - 1.25 - ucx_list_free(list); 1.26 -} 1.27 - 1.28 UCX_TEST(test_ucx_list_equals) { 1.29 const char *hello = "Hello"; 1.30 const char *world = " World!";