From: Nick Mathewson Date: Wed, 24 Oct 2012 01:49:46 +0000 (-0400) Subject: Make unit test for bug7191 work with new smartlist_new() name X-Git-Tag: tor-0.2.3.24-rc~7^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b99457d4295b2329e65f3e01b24b57d5c78ca017;p=thirdparty%2Ftor.git Make unit test for bug7191 work with new smartlist_new() name --- diff --git a/src/test/test_containers.c b/src/test/test_containers.c index 9a306ad797..45898df4eb 100644 --- a/src/test/test_containers.c +++ b/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);