Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
NielBuys committed Feb 28, 2024
1 parent 3c771b9 commit fe559fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/codeigniter/helpers/text_helper_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public function test_highlight_code()
{
if (substr(PHP_VERSION, 0, 3) >= '8.3')
{
$expect = "<pre><code style=\"color: #000000\"><span style=\"color: #0000BB\">&lt;?php var_dump</span><span style=\"color: #007700\">(</span><span style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">); </span><span style=\"color: #0000BB\">?&gt; ?&gt;</span></code></pre>";
$expect = "<pre><code style=\"color: #000000\"><span style=\"color: #0000BB\">&lt;?php var_dump</span><span style=\"color: #007700\">(</span><span style=\"color: #0000BB\">\$this</span><span style=\"color: #007700\">); </span><span style=\"color: #0000BB\">?&gt; ?&gt;</span></code></pre>";
}
else
{
Expand Down

0 comments on commit fe559fa

Please sign in to comment.