Browse Source

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

Nick Mathewson 11 years ago
parent
commit
b99457d429
1 changed files with 1 additions and 1 deletions
  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);