summaryrefslogtreecommitdiff
path: root/tests/Framework
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-08-07 13:48:07 +0200
committerAleksander Machniak <alec@alec.pl>2013-08-07 13:48:07 +0200
commit0bac7b32de62006e925fb0b788c757b6c23b8a5e (patch)
treefa0eace623943da7a6e9be9dc5096aa305940fb2 /tests/Framework
parentc9f779d036c34c9f6c1152249d1501fe49d69254 (diff)
Fix wrong handling of links with '|' character (#1489276)
Diffstat (limited to 'tests/Framework')
-rw-r--r--tests/Framework/StringReplacer.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Framework/StringReplacer.php b/tests/Framework/StringReplacer.php
index 8f6eaf4b9..e23fb9b17 100644
--- a/tests/Framework/StringReplacer.php
+++ b/tests/Framework/StringReplacer.php
@@ -41,6 +41,7 @@ class Framework_StringReplacer extends PHPUnit_Framework_TestCase
array('http://', 'http://'),
array('1@1.com www.domain.tld', '<a href="mailto:1@1.com">1@1.com</a> <a href="http://www.domain.tld">www.domain.tld</a>'),
array(' www.domain.tld ', ' <a href="http://www.domain.tld">www.domain.tld</a> '),
+ array(' www.domain.tld/#!download|856p1|2 ', ' <a href="http://www.domain.tld/#!download|856p1|2">www.domain.tld/#!download|856p1|2</a> '),
);
}