diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-11-12 13:42:01 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-11-12 13:42:01 -0500 |
commit | 4ac5175109b14f8fafca3374ab5ca63968ab2cca (patch) | |
tree | 2d5b009f443942de02807a43d796ae2a4351488a /src/test/test_containers.c | |
parent | a3dafd3f58bb3122b9de919e931c02b5e12373b2 (diff) | |
download | tor-4ac5175109b14f8fafca3374ab5ca63968ab2cca.tar.gz tor-4ac5175109b14f8fafca3374ab5ca63968ab2cca.zip |
Fix wide lines (from 13172)
Diffstat (limited to 'src/test/test_containers.c')
-rw-r--r-- | src/test/test_containers.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/test/test_containers.c b/src/test/test_containers.c index 89eb1a20b5..1eb8c15fd5 100644 --- a/src/test/test_containers.c +++ b/src/test/test_containers.c @@ -241,11 +241,14 @@ test_container_smartlist_strings(void *arg) tt_int_op(f,OP_EQ, 1); tt_int_op(1,OP_EQ, smartlist_bsearch_idx(sl," arm",cmp_without_first_,&f)); tt_int_op(f,OP_EQ, 0); - tt_int_op(1,OP_EQ, smartlist_bsearch_idx(sl," arma",cmp_without_first_,&f)); + tt_int_op(1,OP_EQ, + smartlist_bsearch_idx(sl," arma",cmp_without_first_,&f)); tt_int_op(f,OP_EQ, 1); - tt_int_op(2,OP_EQ, smartlist_bsearch_idx(sl," armb",cmp_without_first_,&f)); + tt_int_op(2,OP_EQ, + smartlist_bsearch_idx(sl," armb",cmp_without_first_,&f)); tt_int_op(f,OP_EQ, 0); - tt_int_op(7,OP_EQ, smartlist_bsearch_idx(sl," zzzz",cmp_without_first_,&f)); + tt_int_op(7,OP_EQ, + smartlist_bsearch_idx(sl," zzzz",cmp_without_first_,&f)); tt_int_op(f,OP_EQ, 0); /* Test trivial cases for list of length 0 or 1 */ @@ -477,7 +480,8 @@ test_container_smartlist_join(void *arg) tt_str_op(joined,OP_EQ, "Anemias,Anemias,Crossbowmen,Work"); tor_free(joined); joined = smartlist_join_strings(sl4, ",", 0, NULL); - tt_str_op(joined,OP_EQ, "Ambush,Anchorman,Anchorman,Bacon,Inhumane,Insurance," + tt_str_op(joined,OP_EQ, + "Ambush,Anchorman,Anchorman,Bacon,Inhumane,Insurance," "Knish,Know,Manners,Manners,Maraschinos,Wombats,Wombats"); tor_free(joined); @@ -887,7 +891,8 @@ test_container_order_functions(void *arg) tt_int_op(7,OP_EQ, third_quartile()); /* 1, 2, 3, 4, 5, 6, ~7~, 8, 9 */ lst2[n++] = 10; lst2[n++] = 11; - tt_int_op(9,OP_EQ, third_quartile()); /* 1, 2, 3, 4, 5, 6, 7, 8, ~9~, 10, 11 */ + /* 1, 2, 3, 4, 5, 6, 7, 8, ~9~, 10, 11 */ + tt_int_op(9,OP_EQ, third_quartile()); #undef third_quartile |