aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_addr.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-09-15 21:29:48 -0400
committerNick Mathewson <nickm@torproject.org>2014-09-15 21:29:48 -0400
commit34bf9b36905c015f0faf45ee79e0539a0e9e7a3e (patch)
treebb7307feb8a3c5f967bb0a0020128812f4dffcf3 /src/test/test_addr.c
parent0e0cef1d60c02e6e88f5dc0deb26074800c1f455 (diff)
downloadtor-34bf9b36905c015f0faf45ee79e0539a0e9e7a3e.tar.gz
tor-34bf9b36905c015f0faf45ee79e0539a0e9e7a3e.zip
Replace the remaining test_assert instances
Diffstat (limited to 'src/test/test_addr.c')
-rw-r--r--src/test/test_addr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/test_addr.c b/src/test/test_addr.c
index 24e1ba2122..8900c46b04 100644
--- a/src/test/test_addr.c
+++ b/src/test/test_addr.c
@@ -651,13 +651,13 @@ test_addr_ip6_helpers(void)
#if 0
/* Try a mask with a wildcard. */
r=tor_addr_parse_mask_ports("*/16",0,&t1, &mask, NULL, NULL);
- test_assert(r == -1);
+ tt_assert(r == -1);
r=tor_addr_parse_mask_ports("*4/16",TAPMP_EXTENDED_STAR,
&t1, &mask, NULL, NULL);
- test_assert(r == -1);
+ tt_assert(r == -1);
r=tor_addr_parse_mask_ports("*6/30",TAPMP_EXTENDED_STAR,
&t1, &mask, NULL, NULL);
- test_assert(r == -1);
+ tt_assert(r == -1);
#endif
/* Basic mask tests*/
r=tor_addr_parse_mask_ports("1.1.2.2/31",0,&t1, &mask, NULL, NULL);