diff options
author | Steve Clay <steve@mrclay.org> | 2013-05-13 22:39:42 -0400 |
---|---|---|
committer | Steve Clay <steve@mrclay.org> | 2013-05-13 22:39:42 -0400 |
commit | 6fed48c68bd866149427c63782d5ce4db6ba80c4 (patch) | |
tree | a0302e3d8010a46f8203581f0d5eae42453bfba4 | |
parent | f04fdceb5941df31e1ac94f7fb586c2688813da7 (diff) | |
download | elgg-6fed48c68bd866149427c63782d5ce4db6ba80c4.tar.gz elgg-6fed48c68bd866149427c63782d5ce4db6ba80c4.tar.bz2 |
Add test for = lookbehind
-rw-r--r-- | engine/tests/regression/trac_bugs.php | 4 |
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)); |