浏览代码

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

Nick Mathewson 11 年之前
父节点
当前提交
b99457d429
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);