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_hs.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_hs.c')
-rw-r--r-- | src/test/test_hs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_hs.c b/src/test/test_hs.c index 42b7e42569..7737499f50 100644 --- a/src/test/test_hs.c +++ b/src/test/test_hs.c @@ -543,7 +543,7 @@ test_hs_rend_data(void *arg) tt_assert(service_dup->hsdirs_fp); tt_int_op(smartlist_len(service_dup->hsdirs_fp), OP_EQ, 0); for (rep = 0; rep < REND_NUMBER_OF_NON_CONSECUTIVE_REPLICAS; rep++) { - tt_int_op(tor_digest_is_zero(service_dup_v2->descriptor_id[rep]), OP_EQ, 1); + tt_assert(tor_digest_is_zero(service_dup_v2->descriptor_id[rep])); } /* The rest should be zeroed because this is a service request. */ tt_int_op(tor_digest_is_zero(service_dup_v2->descriptor_cookie), OP_EQ, 1); |