diff options
author | Anika Henke <a.c.henke@arcor.de> | 2007-05-15 00:25:27 +0200 |
---|---|---|
committer | Anika Henke <a.c.henke@arcor.de> | 2007-05-15 00:25:27 +0200 |
commit | ed7ecb791be76223682b576af6242134cdca9496 (patch) | |
tree | 1404092ffc8eae1e3dd86209e374b8a9de2ae324 /_test | |
parent | cc25c90054c868d8085d5e5c3b765a48acc824a8 (diff) | |
download | rpg-ed7ecb791be76223682b576af6242134cdca9496.tar.gz rpg-ed7ecb791be76223682b576af6242134cdca9496.tar.bz2 |
FS#744 (template developers, heed the changes)
darcs-hash:20070514222527-d5083-53ed619daf07d0a84c52161465d163abf1400529.gz
Diffstat (limited to '_test')
-rw-r--r-- | _test/cases/inc/html_hilight.test.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_test/cases/inc/html_hilight.test.php b/_test/cases/inc/html_hilight.test.php index 634ef2585..e67b2cc1f 100644 --- a/_test/cases/inc/html_hilight.test.php +++ b/_test/cases/inc/html_hilight.test.php @@ -65,7 +65,7 @@ class html_hilight_test extends UnitTestCase{ function testHighlightPHP() { $html = 'Foo $_GET[\'bar\'] Foo'; $this->assertEqual( - 'Foo <span class="search_hit">$_GET</span>[\'<span class="search_hit">bar</span>\'] Foo', + 'Foo <strong class="search_hit">$_GET</strong>[\'<strong class="search_hit">bar</strong>\'] Foo', html_hilight($html,'$_GET[\'bar\']') ); } @@ -81,7 +81,7 @@ class html_hilight_test extends UnitTestCase{ function testMatchAttributeWord() { $html = 'Foo <b class="x">bar</b> Foo'; $this->assertEqual( - 'Foo <b class="x"><span class="search_hit">bar</span></b> Foo', + 'Foo <b class="x"><strong class="search_hit">bar</strong></b> Foo', html_hilight($html,'class="x">bar') ); } |