소스 검색

[Console] fixed a test

Fabien Potencier 14 년 전
부모
커밋
8cb400a5d8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tests/Symfony/Tests/Component/Console/Formatter/OutputFormatterTest.php

+ 1 - 1
tests/Symfony/Tests/Component/Console/Formatter/OutputFormatterTest.php

@@ -93,7 +93,7 @@ class FormatterStyleTest extends \PHPUnit_Framework_TestCase
         $formatter = new OutputFormatter(true);
 
         $this->assertEquals(
-            "\033[34;41msome text\033[0m", $formatter->format('<fg=blue;bg=red>some text</style>')
+            "\033[34;41msome text\033[0m", $formatter->format('<fg=blue;bg=red>some text</>')
         );
     }