diff -r fd21d1840dff -r b8c49e7a1dba test/list_tests.c --- a/test/list_tests.c Wed May 16 19:33:31 2018 +0200 +++ b/test/list_tests.c Thu May 17 11:13:02 2018 +0200 @@ -68,27 +68,6 @@ ucx_list_free(list); } -UCX_TEST(test_ucx_list_append_once) { - UcxList *list, *first; - list = first = ucx_list_append_once(NULL, (void*)"Hello", ucx_cmp_str, NULL); - UCX_TEST_BEGIN - - UCX_TEST_ASSERT(strncmp((const char*)list->data, "Hello", 5) == 0, - "failed"); - - list = ucx_list_append_once(list, (void*)"Hello", ucx_cmp_str, NULL); - list = ucx_list_append_once(list, (void*)" World!", ucx_cmp_str, NULL); - - UCX_TEST_ASSERT(list == first, "does not return first element"); - UCX_TEST_ASSERT(strncmp((const char*)list->next->data, " World!", 7) == 0, - "'Hello' was not inserted _once_"); - UCX_TEST_ASSERT(list->next->prev == list, "failed"); - UCX_TEST_ASSERT(list->next->next == NULL, "right not terminated"); - UCX_TEST_END - - ucx_list_free(list); -} - UCX_TEST(test_ucx_list_equals) { const char *hello = "Hello"; const char *world = " World!";