public function OutputFormatterTest::testFormatLongString 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::testFormatLongString()
File
- vendor/
symfony/ console/ Tests/ Formatter/ OutputFormatterTest.php, line 162
Class
Namespace
Symfony\Component\Console\Tests\FormatterCode
public function testFormatLongString() {
$formatter = new OutputFormatter(true);
$long = str_repeat('\\', 14000);
$this
->assertEquals("\33[37;41msome error\33[39;49m" . $long, $formatter
->format('<error>some error</error>' . $long));
}