12345678910111213141516171819202122232425262728 |
- <?php
- namespace Composer;
- use Composer\Console\HtmlOutputFormatter;
- class HtmlOutputFormatterTest extends \PHPUnit_Framework_TestCase
- {
- public function testFormatting()
- {
- $formatter = new HtmlOutputFormatter;
- return $this->assertEquals(
- 'Reading composer.json of <span style="color:green;">https://github.com/ccqgithub/sherry-php</span> (<span style="color:yellow;">master</span>)',
- $formatter->format('Reading composer.json of <info>https://github.com/ccqgithub/sherry-php</info> (<comment>master</comment>)')
- );
- }
- }
|