public function OutputFormatterTest::testDeepNestedStyles in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/console/Tests/Formatter/OutputFormatterTest.php \Symfony\Component\Console\Tests\Formatter\OutputFormatterTest::testDeepNestedStyles()
File
- vendor/
symfony/ console/ Tests/ Formatter/ OutputFormatterTest.php, line 111
Class
Namespace
Symfony\Component\Console\Tests\FormatterCode
public function testDeepNestedStyles() {
$formatter = new OutputFormatter(true);
$this
->assertEquals("\33[37;41merror\33[39;49m\33[32minfo\33[39m\33[33mcomment\33[39m\33[37;41merror\33[39;49m", $formatter
->format('<error>error<info>info<comment>comment</info>error</error>'));
}