]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Make unit test for bug7191 work with new smartlist_new() name
authorNick Mathewson <nickm@torproject.org>
Wed, 24 Oct 2012 01:49:46 +0000 (21:49 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 24 Oct 2012 01:49:46 +0000 (21:49 -0400)
src/test/test_containers.c

index 9a306ad79700976fdfc6738ac54ba7a005001066..45898df4eb6cf4290784a2977e8ab3b2bd8b1215 100644 (file)
@@ -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);