Skip to content

Commit f954677

Browse files
author
Derick Rethans
committed
- Fix tests after change to highlight_string()
1 parent 337b23b commit f954677

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

ext/standard/tests/general_functions/highlight_heredoc.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ DDDD;
1414
highlight_string($str);
1515
?>
1616
--EXPECT--
17-
<code><font color="#000000">
18-
<br />$x=&lt;&lt;&lt;DD<br />jhdsjkfhjdsh<br />DD<br />."";<br />$a=&lt;&lt;&lt;DDDD<br />jhdsjkfhjdsh<br />DDDD;<br /></font>
17+
<code><span style="color: #000000">
18+
<br />$x=&lt;&lt;&lt;DD<br />jhdsjkfhjdsh<br />DD<br />."";<br />$a=&lt;&lt;&lt;DDDD<br />jhdsjkfhjdsh<br />DDDD;<br /></span>
1919
</code>

tests/strings/004.phpt

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ $var = highlight_string("<br /><?php echo \"bar\"; ?><br />", TRUE);
1616
echo "\n[$var]\n";
1717
?>
1818
--EXPECT--
19-
<code><font color="#000000">
20-
&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>
19+
<code><span style="color: #000000">
20+
&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>
2121
</code>
22-
[<code><font color="#000000">
23-
&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>
22+
[<code><span style="color: #000000">
23+
&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>
2424
</code>]

tests/strings/bug26703.phpt

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ highlight.html=#000000
1212
highlight_string('<?php echo "foo[] $a \n"; ?>');
1313
?>
1414
--EXPECT--
15-
<code><font color="#000000">
16-
<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>
17-
</font>
15+
<code><span style="color: #000000">
16+
<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>
17+
</span>
1818
</code>

0 commit comments

Comments
 (0)