aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-10-23 21:49:46 -0400
committerNick Mathewson <nickm@torproject.org>2012-10-23 21:49:46 -0400
commitb99457d4295b2329e65f3e01b24b57d5c78ca017 (patch)
tree0458b6e4c823808214ca5d69e8aa745f6e1fba9b /src/test
parentb0646cc1423d4ea28d68c84e38e90ba8a6cb4e29 (diff)
downloadtor-b99457d4295b2329e65f3e01b24b57d5c78ca017.tar
tor-b99457d4295b2329e65f3e01b24b57d5c78ca017.tar.gz
Make unit test for bug7191 work with new smartlist_new() name
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_containers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_containers.c b/src/test/test_containers.c
index 9a306ad79..45898df4e 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);