diff options
author | Alexander Færøy <ahf@torproject.org> | 2017-06-05 14:38:20 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-08-24 16:09:41 -0400 |
commit | 77b92c2214325e2e26a06b1e61158a88a15bc227 (patch) | |
tree | 50e2b5e09b55099c844b180666c86960c93a104a /src/test/test_circuituse.c | |
parent | 011d94fb11c0ccd8d009acba04304588f6d3694b (diff) | |
download | tor-77b92c2214325e2e26a06b1e61158a88a15bc227.tar.gz tor-77b92c2214325e2e26a06b1e61158a88a15bc227.zip |
Ensure that `make check-spaces` is happy.
The `test-operator-cleanup` patch, and related coccinelle patches,
don't do any checks for line length. This patch fixes the line
length issues caused by the previous commits.
Diffstat (limited to 'src/test/test_circuituse.c')
-rw-r--r-- | src/test/test_circuituse.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/test/test_circuituse.c b/src/test/test_circuituse.c index 2b8cd82a8d..df1b43807f 100644 --- a/src/test/test_circuituse.c +++ b/src/test/test_circuituse.c @@ -165,7 +165,8 @@ test_needs_exit_circuits_ret_false_for_predicted_ports_and_path(void *arg) int needs_capacity = 0; time_t now = time(NULL); - tt_int_op(0, OP_EQ, needs_exit_circuits(now, &needs_uptime, &needs_capacity)); + tt_int_op(0, OP_EQ, + needs_exit_circuits(now, &needs_uptime, &needs_capacity)); done: UNMOCK(circuit_all_predicted_ports_handled); @@ -183,7 +184,8 @@ test_needs_exit_circuits_ret_false_for_non_exit_consensus_path(void *arg) MOCK(router_have_consensus_path, mock_router_have_unknown_consensus_path); time_t now = time(NULL); - tt_int_op(0, OP_EQ, needs_exit_circuits(now, &needs_uptime, &needs_capacity)); + tt_int_op(0, OP_EQ, + needs_exit_circuits(now, &needs_uptime, &needs_capacity)); done: UNMOCK(circuit_all_predicted_ports_handled); @@ -202,7 +204,8 @@ test_needs_exit_circuits_ret_true_for_predicted_ports_and_path(void *arg) MOCK(router_have_consensus_path, mock_router_have_exit_consensus_path); time_t now = time(NULL); - tt_int_op(1, OP_EQ, needs_exit_circuits(now, &needs_uptime, &needs_capacity)); + tt_int_op(1, OP_EQ, + needs_exit_circuits(now, &needs_uptime, &needs_capacity)); done: UNMOCK(circuit_all_predicted_ports_handled); |