Add test for IPv6 without port

This commit is contained in:
Lukas Reschke 2014-12-04 12:16:33 +01:00
parent b3515a98e9
commit 81541c56b6

View file

@ -232,7 +232,8 @@ class Test_Request extends \Test\TestCase {
return array( return array(
array('localhost:500', 'localhost'), array('localhost:500', 'localhost'),
array('foo.com', 'foo.com'), array('foo.com', 'foo.com'),
array('[1fff:0:a88:85a3::ac1f]:801', '[1fff:0:a88:85a3::ac1f]') array('[1fff:0:a88:85a3::ac1f]:801', '[1fff:0:a88:85a3::ac1f]'),
array('[1fff:0:a88:85a3::ac1f]', '[1fff:0:a88:85a3::ac1f]')
); );
} }