diff -r 9f385abc72fb -r 9db71925eaa8 test/list_tests.c --- a/test/list_tests.c Fri Nov 18 15:17:04 2016 +0100 +++ b/test/list_tests.c Fri Nov 18 15:33:58 2016 +0100 @@ -89,28 +89,6 @@ ucx_list_free(list); } -UCX_TEST(test_ucx_list_prepend_once) { - UcxList *list, *last, *first; - list = last = ucx_list_prepend_once(NULL, (void*)" World!", - ucx_strcmp, NULL); - UCX_TEST_BEGIN - - list = ucx_list_prepend_once(list, (void*)"Hello", ucx_strcmp, NULL); - first = ucx_list_prepend_once(list, (void*)"Hello", ucx_strcmp, NULL); - - UCX_TEST_ASSERT(list == first, "'Hello' was not prepended _once_"); - UCX_TEST_ASSERT(first == last->prev, "does not return first element"); - UCX_TEST_ASSERT(strncmp((const char*)list->data, "Hello", 5) == 0, - "failed"); - UCX_TEST_ASSERT(strncmp((const char*)list->next->data, " World!", 7) == 0, - "failed"); - UCX_TEST_ASSERT(list->next->next == NULL, "right not terminated"); - UCX_TEST_ASSERT(list->prev == NULL, "left not terminated"); - - UCX_TEST_END - ucx_list_free(list); -} - UCX_TEST(test_ucx_list_equals) { const char *hello = "Hello"; const char *world = " World!";