Skip to content

Commit

Permalink
Do not highlight PHPT paths when colors are off
Browse files Browse the repository at this point in the history
  • Loading branch information
epdenouden authored and sebastianbergmann committed Dec 24, 2018
1 parent 118c4ac commit ef1f44c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Util/TestDox/CliTestDoxPrinter.php
Expand Up @@ -309,7 +309,7 @@ private function writeTestResult(array $prevResult, array $result): void
}

// test result line
if ($result['className'] == PhptTestCase::class) {
if ($this->colors && $result['className'] == PhptTestCase::class) {
$testName = Color::colorizePath($result['testName'], $prevResult['testName']);
} else {
$testName = $result['testMethod'];
Expand Down

0 comments on commit ef1f44c

Please sign in to comment.