diff options
author | Andreas Gohr <andi@splitbrain.org> | 2007-05-15 00:53:47 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2007-05-15 00:53:47 +0200 |
commit | bce7456f87f9060247aba585a11f29404493e15b (patch) | |
tree | 547e9483b16b3bfcca9bf93fbabdc9ae616c1f41 | |
parent | 688774a0131564d4276cbff67eeb8bc4485f03ad (diff) | |
download | rpg-bce7456f87f9060247aba585a11f29404493e15b.tar.gz rpg-bce7456f87f9060247aba585a11f29404493e15b.tar.bz2 |
test fixes for FS#744 changes
darcs-hash:20070514225347-7ad00-ba191319ac6aa30cdc8d7abe10ddebbd761bfe37.gz
-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 e67b2cc1f..634ef2585 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 <strong class="search_hit">$_GET</strong>[\'<strong class="search_hit">bar</strong>\'] Foo', + 'Foo <span class="search_hit">$_GET</span>[\'<span class="search_hit">bar</span>\'] 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"><strong class="search_hit">bar</strong></b> Foo', + 'Foo <b class="x"><span class="search_hit">bar</span></b> Foo', html_hilight($html,'class="x">bar') ); } |