From 7f3f4923ec711ec97a1204ec2c080e219f50ff3b Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 2 Sep 2019 04:51:31 +0000 Subject: tests: add tcp_connect() helper IO::Socket::INET->new is rather verbose with the options hash, extract it into a standalone sub --- t/www_listing.t | 1 - 1 file changed, 1 deletion(-) (limited to 't/www_listing.t') diff --git a/t/www_listing.t b/t/www_listing.t index a5d81f38..990233c8 100644 --- a/t/www_listing.t +++ b/t/www_listing.t @@ -72,7 +72,6 @@ SKIP: { my $cfgfile = "$tmpdir/config"; my $v2 = "$tmpdir/v2"; my $httpd = 'blib/script/public-inbox-httpd'; - use IO::Socket::INET; my $sock = tcp_server(); ok($sock, 'sock created'); my ($host, $port) = ($sock->sockhost, $sock->sockport); -- cgit v1.2.3-24-ge0c7