[tor-commits] [tor/maint-0.2.3] Make unit test for bug7191 work with new smartlist_new() name

nickm at torproject.org nickm at torproject.org
Wed Oct 24 01:49:51 UTC 2012


commit b99457d4295b2329e65f3e01b24b57d5c78ca017
Author: Nick Mathewson <nickm at torproject.org>
Date:   Tue Oct 23 21:49:46 2012 -0400

    Make unit test for bug7191 work with new smartlist_new() name
---
 src/test/test_containers.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/test/test_containers.c b/src/test/test_containers.c
index 9a306ad..45898df 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);



More information about the tor-commits mailing list