aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_bwmgt.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-04-13 12:04:54 -0400
committerNick Mathewson <nickm@torproject.org>2018-04-13 16:31:47 -0400
commit1b31195b4fe9fb82a420d9474fd0d496fbd59b61 (patch)
tree1caa6b863bcc49cef0abc2fd9398a6ffb024ddb5 /src/test/test_bwmgt.c
parent003e6595bf355fd13f85eb31e7850cec086ecd07 (diff)
downloadtor-1b31195b4fe9fb82a420d9474fd0d496fbd59b61.tar.gz
tor-1b31195b4fe9fb82a420d9474fd0d496fbd59b61.zip
Fix "make check-spaces"
Diffstat (limited to 'src/test/test_bwmgt.c')
-rw-r--r--src/test/test_bwmgt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test_bwmgt.c b/src/test/test_bwmgt.c
index 003671a42a..0579b4a419 100644
--- a/src/test/test_bwmgt.c
+++ b/src/test/test_bwmgt.c
@@ -167,7 +167,8 @@ test_bwmgt_token_buf_refill(void *arg)
tt_int_op(b.read_bucket.bucket, OP_LT, 32*KB+400);
/* Underflow the bucket, make sure we detect when it has tokens again. */
- tt_int_op(1, OP_EQ, token_bucket_rw_dec_read(&b, b.read_bucket.bucket+16*KB));
+ tt_int_op(1, OP_EQ,
+ token_bucket_rw_dec_read(&b, b.read_bucket.bucket+16*KB));
tt_int_op(-16*KB, OP_EQ, b.read_bucket.bucket);
// half a second passes...
tt_int_op(0, OP_EQ, token_bucket_rw_refill(&b, START_TS + SEC*64));