summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2004-02-25 22:55:47 +0000
committerDerick Rethans <derick@php.net>2004-02-25 22:55:47 +0000
commitf954677e54fa30ba68524e96caaff4aa173cf374 (patch)
tree1493d1f599cc38b0e1e1f7d5c5861d82014322d7 /tests
parent337b23bd93b549858564457eda82dfee69ce7ca1 (diff)
downloadphp-git-f954677e54fa30ba68524e96caaff4aa173cf374.tar.gz
- Fix tests after change to highlight_string()
Diffstat (limited to 'tests')
-rw-r--r--tests/strings/004.phpt8
-rw-r--r--tests/strings/bug26703.phpt6
2 files changed, 7 insertions, 7 deletions
diff --git a/tests/strings/004.phpt b/tests/strings/004.phpt
index 596928cdff..37e5b957bd 100644
--- a/tests/strings/004.phpt
+++ b/tests/strings/004.phpt
@@ -16,9 +16,9 @@ $var = highlight_string("<br /><?php echo \"bar\"; ?><br />", TRUE);
echo "\n[$var]\n";
?>
--EXPECT--
-<code><font color="#000000">
-&lt;br /&gt;<font color="#0000BB">&lt;?php </font><font color="#007700">echo </font><font color="#DD0000">"foo"</font><font color="#007700">; </font><font color="#0000BB">?&gt;</font>&lt;br /&gt;</font>
+<code><span style="color: #000000">
+&lt;br /&gt;<span style="color: #0000BB">&lt;?php </span><span style="color: #007700">echo </span><span style="color: #DD0000">"foo"</span><span style="color: #007700">; </span><span style="color: #0000BB">?&gt;</span>&lt;br /&gt;</span>
</code>
-[<code><font color="#000000">
-&lt;br /&gt;<font color="#0000BB">&lt;?php </font><font color="#007700">echo </font><font color="#DD0000">"bar"</font><font color="#007700">; </font><font color="#0000BB">?&gt;</font>&lt;br /&gt;</font>
+[<code><span style="color: #000000">
+&lt;br /&gt;<span style="color: #0000BB">&lt;?php </span><span style="color: #007700">echo </span><span style="color: #DD0000">"bar"</span><span style="color: #007700">; </span><span style="color: #0000BB">?&gt;</span>&lt;br /&gt;</span>
</code>]
diff --git a/tests/strings/bug26703.phpt b/tests/strings/bug26703.phpt
index c86e1759d5..c9a7790c01 100644
--- a/tests/strings/bug26703.phpt
+++ b/tests/strings/bug26703.phpt
@@ -12,7 +12,7 @@ highlight.html=#000000
highlight_string('<?php echo "foo[] $a \n"; ?>');
?>
--EXPECT--
-<code><font color="#000000">
-<font color="#0000BB">&lt;?php </font><font color="#007700">echo </font><font color="#DD0000">"foo[] $a \n"</font><font color="#007700">; </font><font color="#0000BB">?&gt;</font>
-</font>
+<code><span style="color: #000000">
+<span style="color: #0000BB">&lt;?php </span><span style="color: #007700">echo </span><span style="color: #DD0000">"foo[] $a \n"</span><span style="color: #007700">; </span><span style="color: #0000BB">?&gt;</span>
+</span>
</code>