[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit b99457d4295b2329e65f3e01b24b57d5c78ca017
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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);

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits