mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Adding linebreak for text/cli output situations.
This commit is contained in:
parent
489958ea48
commit
84e70c1db1
1 changed files with 1 additions and 2 deletions
|
@ -174,7 +174,7 @@ class CodeCoverageManager {
|
|||
list($coverageData, $testObjectFile) = $manager->_getCoverageData();
|
||||
|
||||
if (empty($coverageData) && $output) {
|
||||
echo 'The test object file is never loaded.';
|
||||
echo "The test object file is never loaded.\n";
|
||||
}
|
||||
|
||||
if (!$manager->groupTest) {
|
||||
|
@ -221,7 +221,6 @@ class CodeCoverageManager {
|
|||
|
||||
if ($this->groupTest) {
|
||||
$testObjectFile = $this->__testObjectFilesFromGroupFile($this->testCaseFile, $this->appTest);
|
||||
|
||||
foreach ($testObjectFile as $file) {
|
||||
if (!file_exists($file)) {
|
||||
trigger_error('This test object file is invalid: ' . $file);
|
||||
|
|
Loading…
Add table
Reference in a new issue