test/list_tests.c

changeset 94
57ea041df22f
parent 90
ef3163857e88
child 103
08018864fb91
     1.1 --- a/test/list_tests.c	Wed Feb 27 11:37:27 2013 +0100
     1.2 +++ b/test/list_tests.c	Wed Feb 27 11:48:29 2013 +0100
     1.3 @@ -3,7 +3,7 @@
     1.4   */
     1.5  
     1.6  #include "list_tests.h"
     1.7 -#include "ucx/comparator.h"
     1.8 +#include "ucx/utils.h"
     1.9  
    1.10  UCX_TEST_IMPLEMENT(test_ucx_list_append) {
    1.11      UcxList *list = ucx_list_append(NULL, (void*)"Hello");
    1.12 @@ -159,7 +159,7 @@
    1.13      UcxList *list = ucx_list_append(NULL, hello);
    1.14      list = ucx_list_append(list, world);
    1.15      
    1.16 -    UcxList *copy = ucx_list_clone(list, copy_string, NULL);
    1.17 +    UcxList *copy = ucx_list_clone(list, ucx_strcpy, NULL);
    1.18      UCX_TEST_BEGIN
    1.19  
    1.20      UCX_TEST_ASSERT(ucx_list_equals(list, copy, ucx_strcmp, NULL), "failed");

mercurial