Skip to content

Commit 88a2b56

Browse files
committed
fixed some tests
1 parent b4e5fbe commit 88a2b56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Console/Tests/Formatter/OutputFormatterStyleTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function testForeground()
3838
$this->assertEquals("\033[34mfoo\033[0m", $style->apply('foo'));
3939

4040
$style->setForeground('default');
41-
$this->assertEquals("\033[39mfoo\033[39m", $style->apply('foo'));
41+
$this->assertEquals("\033[39mfoo\033[0m", $style->apply('foo'));
4242

4343
$this->setExpectedException('InvalidArgumentException');
4444
$style->setForeground('undefined-color');
@@ -55,7 +55,7 @@ public function testBackground()
5555
$this->assertEquals("\033[43mfoo\033[0m", $style->apply('foo'));
5656

5757
$style->setBackground('default');
58-
$this->assertEquals("\033[49mfoo\033[49m", $style->apply('foo'));
58+
$this->assertEquals("\033[49mfoo\033[0m", $style->apply('foo'));
5959

6060
$this->setExpectedException('InvalidArgumentException');
6161
$style->setBackground('undefined-color');

0 commit comments

Comments
 (0)