:: isn't a valid IPv6 address for our purposes

This commit is contained in:
Craig Andrews
2009-09-09 16:57:11 -04:00
parent 7a910961b6
commit aecdba1ded
2 changed files with 4 additions and 2 deletions

View File

@@ -25,6 +25,8 @@ class URLDetectionTest extends PHPUnit_Framework_TestCase
static public function provider()
{
return array(
array('not a link :: no way',
'not a link :: no way'),
array('http://127.0.0.1',
'<a href="http://127.0.0.1/" rel="external">http://127.0.0.1</a>'),
array('127.0.0.1',