From c96d3f57ef6a13e3e61338f57a473b4817547da8 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Fri, 19 Oct 2012 15:13:14 +0200 Subject: Match http://localhost/xxx as link --- tests/Framework/StringReplacer.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/Framework/StringReplacer.php b/tests/Framework/StringReplacer.php index 6081e5377..a76ba00ee 100644 --- a/tests/Framework/StringReplacer.php +++ b/tests/Framework/StringReplacer.php @@ -25,6 +25,8 @@ class Framework_StringReplacer extends PHPUnit_Framework_TestCase { return array( array('http://domain.tld/path*path2', 'http://domain.tld/path*path2'), + array("Click this link:\nhttps://mail.xn--brderli-o2a.ch/rc/ EOF", "Click this link:\nhttps://mail.xn--brderli-o2a.ch/rc/ EOF"), + array('Start http://localhost/?foo End', 'Start http://localhost/?foo End'), array('www.domain.tld', 'www.domain.tld'), array('WWW.DOMAIN.TLD', 'WWW.DOMAIN.TLD'), ); -- cgit v1.2.3