summaryrefslogtreecommitdiff
path: root/t/ipv6.t
blob: 48c31f07f4f6f9fcd614c233a7830080a7c7d4a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
use strict;
use warnings;

use URI ();
use Test::More;

my $url = URI->new('http://[fe80::e828:209d:20e:c0ae]:375');

is( $url->host, 'fe80::e828:209d:20e:c0ae', 'host' );
is( $url->port, 375, 'port' );

done_testing();