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