diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-04-11 12:59:57 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-01-16 16:57:32 -0500 |
commit | ca18768fb2d178052fbf1207075406673f422c8a (patch) | |
tree | 6ea9ea35dd6980c2ec5aecf5aa483d3fa0c6e4af /src/test/test_containers.c | |
parent | 49e619c1cf7ed62334263a89eb031899bc2e7178 (diff) | |
download | tor-ca18768fb2d178052fbf1207075406673f422c8a.tar.gz tor-ca18768fb2d178052fbf1207075406673f422c8a.zip |
Aftermath of isin->contains renaming
Fix wide lines and comments, and add a changes file
Diffstat (limited to 'src/test/test_containers.c')
-rw-r--r-- | src/test/test_containers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_containers.c b/src/test/test_containers.c index aec2cb7a65..ca901624c2 100644 --- a/src/test/test_containers.c +++ b/src/test/test_containers.c @@ -278,7 +278,7 @@ test_container_smartlist_strings(void) test_streq(cp_alloc, "50,a,canal,man,noon,panama,plan,radar"); tor_free(cp_alloc); - /* Test string_isin and isin_case and num_isin */ + /* Test contains_string, contains_string_case and contains_int_as_string */ test_assert(smartlist_contains_string(sl, "noon")); test_assert(!smartlist_contains_string(sl, "noonoon")); test_assert(smartlist_contains_string_case(sl, "nOOn")); @@ -389,7 +389,7 @@ test_container_smartlist_digests(void) { smartlist_t *sl = smartlist_new(); - /* digest_isin. */ + /* contains_digest */ smartlist_add(sl, tor_memdup("AAAAAAAAAAAAAAAAAAAA", DIGEST_LEN)); smartlist_add(sl, tor_memdup("\00090AAB2AAAAaasdAAAAA", DIGEST_LEN)); smartlist_add(sl, tor_memdup("\00090AAB2AAAAaasdAAAAA", DIGEST_LEN)); |