Skip to content

Commit 88928fc

Browse files
committed
added a test for sensiolabs#2
1 parent f14da53 commit 88928fc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

SensioLabs/AnsiConverter/Tests/AnsiToHtmlConverterTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ public function getConvertData()
4040
// color
4141
array("<span style=\"background-color: darkred; color: darkred\">foo</span>", "\e[31;41mfoo\e[0m"),
4242

43+
// color with [m as a termination (equivalent to [0m])
44+
array("<span style=\"background-color: darkred; color: darkred\">foo</span>", "\e[31;41mfoo\e[m"),
45+
4346
// bright color
4447
array("<span style=\"background-color: red; color: red\">foo</span>", "\e[31;41;1mfoo\e[0m"),
4548

0 commit comments

Comments
 (0)