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
1 changed files with 2 additions and 1 deletions

View File

@ -232,7 +232,8 @@ class Test_Request extends \Test\TestCase {
return array(
array('localhost:500', 'localhost'),
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]')
);
}