Explorar el Código

Make unit test for bug7191 work with new smartlist_new() name

Nick Mathewson hace 13 años
padre
commit
b99457d429
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/test/test_containers.c

+ 1 - 1
src/test/test_containers.c

@@ -229,7 +229,7 @@ test_container_smartlist_strings(void)
     test_eq(f, 0);
 
     /* Test trivial cases for list of length 0 or 1 */
-    tmp = smartlist_create();
+    tmp = smartlist_new();
     test_eq(0, smartlist_bsearch_idx(tmp, "foo",
                                      compare_strs_for_bsearch_, &f));
     test_eq(f, 0);