当我运行时,phpunit
我收到多行响应:
$ ./vendor/bin/phpunit -c tests/phpunit_no_code_coverage.xml --filter=Ncl
PHPUnit 4.1.6-6-g43914fa by Sebastian Bergmann.
Configuration read from tests/phpunit_no_code_coverage.xml
.
Time: 2.63 seconds, Memory: 21.50Mb
OK (1 test, 40 assertions)
现在我希望消息出现在波尼赛气泡:
ponysay `./vendor/bin/phpunit -c tests/phpunit_no_code_coverage.xml --filter=Ncl` -W 220
这会扭曲输出,因为 phpunit 的内容现在在一行上:
PHPUnit 4.1.6-6-g43914fa by Sebastian Bergmann. Configuration read from tests/phpunit_no_code_coverage.xml . Time: 2.69 seconds, Memory: 21.50Mb OK (1 test, 40 assertions)
或者如图所示:
我想让消息保留其换行符。我该怎么做?