mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 06:48:05 +01:00
Merge branch 'tor-github/pr/1214'
This commit is contained in:
commit
dfc8c0b536
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ test_token_bucket_ctr_dec(void *arg)
|
|||
|
||||
/* Keep underflowing shouldn't flag the bucket as empty. */
|
||||
tt_uint_op(false, OP_EQ, token_bucket_ctr_dec(&tb, BURST));
|
||||
tt_int_op(tb.counter.bucket, OP_EQ, (int32_t) ((BURST + 1) * -1));
|
||||
tt_int_op(tb.counter.bucket, OP_EQ, - (int32_t) (BURST + 1));
|
||||
|
||||
done:
|
||||
;
|
||||
|
|
Loading…
Add table
Reference in a new issue