File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Symfony/Component/Console/Tests/Formatter Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public function testForeground()
38
38
$ this ->assertEquals ("\033[34mfoo \033[0m " , $ style ->apply ('foo ' ));
39
39
40
40
$ style ->setForeground ('default ' );
41
- $ this ->assertEquals ("\033[39mfoo \033[39m " , $ style ->apply ('foo ' ));
41
+ $ this ->assertEquals ("\033[39mfoo \033[0m " , $ style ->apply ('foo ' ));
42
42
43
43
$ this ->setExpectedException ('InvalidArgumentException ' );
44
44
$ style ->setForeground ('undefined-color ' );
@@ -55,7 +55,7 @@ public function testBackground()
55
55
$ this ->assertEquals ("\033[43mfoo \033[0m " , $ style ->apply ('foo ' ));
56
56
57
57
$ style ->setBackground ('default ' );
58
- $ this ->assertEquals ("\033[49mfoo \033[49m " , $ style ->apply ('foo ' ));
58
+ $ this ->assertEquals ("\033[49mfoo \033[0m " , $ style ->apply ('foo ' ));
59
59
60
60
$ this ->setExpectedException ('InvalidArgumentException ' );
61
61
$ style ->setBackground ('undefined-color ' );
You can’t perform that action at this time.
0 commit comments