aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_channeltls.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-08-24 15:49:59 -0400
committerNick Mathewson <nickm@torproject.org>2017-08-24 15:49:59 -0400
commit047790a25343e3857fb95e8874755440da30a982 (patch)
tree30f7f00f78aab3f4120eebabc6c9166e101e8f8c /src/test/test_channeltls.c
parent0b36208fd88e284592bb78d5b7c41226d6576e00 (diff)
downloadtor-047790a25343e3857fb95e8874755440da30a982.tar.gz
tor-047790a25343e3857fb95e8874755440da30a982.zip
apply ahf's test_assert_int.cocci
Diffstat (limited to 'src/test/test_channeltls.c')
-rw-r--r--src/test/test_channeltls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_channeltls.c b/src/test/test_channeltls.c
index 447c59847c..8b74a47a4f 100644
--- a/src/test/test_channeltls.c
+++ b/src/test/test_channeltls.c
@@ -274,7 +274,7 @@ tlschan_connection_or_connect_mock(const tor_addr_t *addr,
(void) ed_id; // XXXX Not yet used.
tt_assert(addr != NULL);
- tt_assert(port != 0);
+ tt_uint_op(port, OP_NE, 0);
tt_assert(digest != NULL);
tt_assert(tlschan != NULL);