aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorSteve Clay <steve@mrclay.org>2013-05-13 22:39:42 -0400
committerSteve Clay <steve@mrclay.org>2013-05-13 22:39:42 -0400
commit6fed48c68bd866149427c63782d5ce4db6ba80c4 (patch)
treea0302e3d8010a46f8203581f0d5eae42453bfba4 /engine
parentf04fdceb5941df31e1ac94f7fb586c2688813da7 (diff)
downloadelgg-6fed48c68bd866149427c63782d5ce4db6ba80c4.tar.gz
elgg-6fed48c68bd866149427c63782d5ce4db6ba80c4.tar.bz2
Add test for = lookbehind
Diffstat (limited to 'engine')
-rw-r--r--engine/tests/regression/trac_bugs.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/engine/tests/regression/trac_bugs.php b/engine/tests/regression/trac_bugs.php
index b7654a794..7fdd51c27 100644
--- a/engine/tests/regression/trac_bugs.php
+++ b/engine/tests/regression/trac_bugs.php
@@ -287,8 +287,10 @@ class ElggCoreRegressionBugsTest extends ElggCoreUnitTest {
'web archive anchor <a href="http://web.archive.org/web/20000229040250/http://www.google.com/">google</a>',
'single quotes already anchor <a href=\'http://www.yahoo.com\'>yahoo</a>' =>
- 'single quotes already anchor <a href=\'http://www.yahoo.com\'>yahoo</a>'
+ 'single quotes already anchor <a href=\'http://www.yahoo.com\'>yahoo</a>',
+ 'unquoted already anchor <a href=http://www.yahoo.com>yahoo</a>' =>
+ 'unquoted already anchor <a href=http://www.yahoo.com>yahoo</a>',
);
foreach ($cases as $input => $output) {
$this->assertEqual($output, parse_urls($input));