Skip to content

Commit 4e424c0

Browse files
committed
Test the style-to-class attribute replacements
1 parent 0c5481c commit 4e424c0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/PhpInfoTest.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ class PhpInfoTest extends TestCase
3838
$html = (new PhpInfo())->getHtml();
3939
Assert::contains('<div id="phpinfo">', $html);
4040
Assert::contains('disable_functions', $html);
41+
Assert::contains('class="color-', $html);
42+
Assert::notContains('style="color: #', $html);
4143
}
4244

4345

0 commit comments

Comments
 (0)