test/main.c

changeset 94
57ea041df22f
parent 90
ef3163857e88
child 97
499e1b465d77
--- a/test/main.c	Wed Feb 27 11:37:27 2013 +0100
+++ b/test/main.c	Wed Feb 27 11:48:29 2013 +0100
@@ -41,14 +41,6 @@
 #include "map_tests.h"
 #include "buffer_tests.h"
 
-void* copy_string(void* e, void* data) {
-    char *str = (char*) e;
-    size_t n = 1+strlen(str);
-    char *cpy = (char*) malloc(n);
-    memcpy(cpy, str, n);
-    return cpy;
-}
-
 UCX_TEST_IMPLEMENT(testTestSuitePositive) {
     UCX_TEST_BEGIN
     UCX_TEST_ASSERT(2*2 == 4, "the test framework fails");

mercurial