You are here

public function OutputFormatterTest::testStyleMatchingNotGreedy in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Tests/Formatter/OutputFormatterTest.php \Symfony\Component\Console\Tests\Formatter\OutputFormatterTest::testStyleMatchingNotGreedy()

File

vendor/symfony/console/Tests/Formatter/OutputFormatterTest.php, line 86

Class

OutputFormatterTest

Namespace

Symfony\Component\Console\Tests\Formatter

Code

public function testStyleMatchingNotGreedy() {
  $formatter = new OutputFormatter(true);
  $this
    ->assertEquals("(\33[32m>=2.0,<2.3\33[39m)", $formatter
    ->format('(<info>>=2.0,<2.3</info>)'));
}