Skip to content

Commit

Permalink
Merge pull request #11 from nztim/master
Browse files Browse the repository at this point in the history
Replace with symbols only if colors flag is set
  • Loading branch information
jakubhomoly authored Jan 31, 2018
2 parents 3d5fecc + 2a94fe8 commit c9c7e0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Printer.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ protected function formatTestDuration($time) {
*/
protected function hasReplacementSymbol($progress)
{
return in_array($progress, array_keys(static::$symbols));
return $this->colors && in_array($progress, array_keys(static::$symbols));
}

/**
Expand Down

0 comments on commit c9c7e0f

Please sign in to comment.