diff options
| author | Derick Rethans <derick@php.net> | 2004-02-25 22:55:47 +0000 |
|---|---|---|
| committer | Derick Rethans <derick@php.net> | 2004-02-25 22:55:47 +0000 |
| commit | f954677e54fa30ba68524e96caaff4aa173cf374 (patch) | |
| tree | 1493d1f599cc38b0e1e1f7d5c5861d82014322d7 /tests | |
| parent | 337b23bd93b549858564457eda82dfee69ce7ca1 (diff) | |
| download | php-git-f954677e54fa30ba68524e96caaff4aa173cf374.tar.gz | |
- Fix tests after change to highlight_string()
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/strings/004.phpt | 8 | ||||
| -rw-r--r-- | tests/strings/bug26703.phpt | 6 |
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"> -<br /><font color="#0000BB"><?php </font><font color="#007700">echo </font><font color="#DD0000">"foo"</font><font color="#007700">; </font><font color="#0000BB">?></font><br /></font> +<code><span style="color: #000000"> +<br /><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #DD0000">"foo"</span><span style="color: #007700">; </span><span style="color: #0000BB">?></span><br /></span> </code> -[<code><font color="#000000"> -<br /><font color="#0000BB"><?php </font><font color="#007700">echo </font><font color="#DD0000">"bar"</font><font color="#007700">; </font><font color="#0000BB">?></font><br /></font> +[<code><span style="color: #000000"> +<br /><span style="color: #0000BB"><?php </span><span style="color: #007700">echo </span><span style="color: #DD0000">"bar"</span><span style="color: #007700">; </span><span style="color: #0000BB">?></span><br /></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"><?php </font><font color="#007700">echo </font><font color="#DD0000">"foo[] $a \n"</font><font color="#007700">; </font><font color="#0000BB">?></font> -</font> +<code><span style="color: #000000"> +<span style="color: #0000BB"><?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">?></span> +</span> </code> |
