Skip to content

Commit 331b562

Browse files
committed
add suite of ipv6 formatting tests, related to #796
1 parent 764a9fb commit 331b562

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/massip-addr.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,13 +297,10 @@ int ipv6address_selftest(void)
297297
struct ipaddress_formatted fmt;
298298

299299
for (int i = 0; tests[i].name != NULL; i++) {
300-
printf("Expected: %s\n", tests[i].name);
301300
fmt = ipaddress_fmt(tests[i].ip_addr);
302-
printf("Actual: %s\n", fmt.string);
303301
if (strcmp(fmt.string, tests[i].name) != 0)
304302
x++;
305303
}
306-
printf("ERRORS: %d\n", x);
307304
return x;
308305
}
309306

0 commit comments

Comments
 (0)