aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_dir.c
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2016-07-01 21:52:32 +0000
committerAndrea Shepard <andrea@torproject.org>2016-07-01 21:52:32 +0000
commitbe78e9ff3782639b9fa72dcfa9bda559cfc83f17 (patch)
tree00f84a128b789e82bd5fe07011ffe943519175ea /src/test/test_dir.c
parentaa05dea5fff43c6185b0e6c17d7468ae9de6fce0 (diff)
downloadtor-be78e9ff3782639b9fa72dcfa9bda559cfc83f17.tar.gz
tor-be78e9ff3782639b9fa72dcfa9bda559cfc83f17.zip
Keep make check-spaces happy
Diffstat (limited to 'src/test/test_dir.c')
-rw-r--r--src/test/test_dir.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/test/test_dir.c b/src/test/test_dir.c
index 200cddd909..8889ccc41b 100644
--- a/src/test/test_dir.c
+++ b/src/test/test_dir.c
@@ -1438,7 +1438,8 @@ test_dir_measured_bw_kb_cache(void *arg)
}
static char *
-my_dirvote_compute_params(smartlist_t *votes, int method, int total_authorities)
+my_dirvote_compute_params(smartlist_t *votes, int method,
+ int total_authorities)
{
smartlist_t *s = dirvote_compute_params(votes, method, total_authorities);
tor_assert(s);
@@ -1573,7 +1574,8 @@ test_dir_param_voting_lookup(void *arg)
tt_int_op(1000,
OP_EQ, dirvote_get_intermediate_param_value(lst, "ab", 1000));
tt_int_op(9, OP_EQ, dirvote_get_intermediate_param_value(lst, "abc", 1000));
- tt_int_op(99, OP_EQ, dirvote_get_intermediate_param_value(lst, "abcd", 1000));
+ tt_int_op(99, OP_EQ,
+ dirvote_get_intermediate_param_value(lst, "abcd", 1000));
/* moomin appears twice. */
tt_int_op(-100, OP_EQ,