diff --git a/tests/URLDetectionTest.php b/tests/URLDetectionTest.php
index 45203bf6e3..0cc03ccce7 100644
--- a/tests/URLDetectionTest.php
+++ b/tests/URLDetectionTest.php
@@ -47,7 +47,9 @@ class URLDetectionTest extends PHPUnit_Framework_TestCase
array('127.0.0.1/\'test',
'127.0.0.1/\'test'),
array('127.0.0.1/"test',
- '127.0.0.1/"test'),
+ '127.0.0.1/"test'),
+ array('127.0.0.1/test"test',
+ '127.0.0.1/test"test'),
array('127.0.0.1/-test',
'127.0.0.1/-test'),
array('127.0.0.1/_test',
@@ -170,6 +172,8 @@ class URLDetectionTest extends PHPUnit_Framework_TestCase
'\'http://example.com\''),
array('"http://example.com"',
'"http://example.com"'),
+ array('"http://example.com/"',
+ '"http://example.com/"'),
array('http://example.com',
'http://example.com'),
array('(http://example.com)',