From d4e504fd5918b92372621dfa4538dea1ed40a747 Mon Sep 17 00:00:00 2001 From: Jeremy Anderson Date: Thu, 15 Mar 2018 10:47:56 -0600 Subject: [PATCH] v3.0.0 lol --- src/Copacetic/TestResultPrinter.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Copacetic/TestResultPrinter.php b/src/Copacetic/TestResultPrinter.php index e75c312..81e7260 100644 --- a/src/Copacetic/TestResultPrinter.php +++ b/src/Copacetic/TestResultPrinter.php @@ -42,9 +42,9 @@ public function endTest(\PHPUnit\Framework\Test $test, $time) $this->lastTestFailed = false; if (get_class($test) == 'PHPUnit\Framework\TestSuite') { - $this->out(" SETUP FAIL at " . $time, 'fg-red', true); + $this->out(" SETUP FAIL at " . $time . ' seconds.', 'fg-red', true); } elseif ($test->hasFailed()) { - $this->out(" FAIL at " . $time, 'fg-red', true); + $this->out(" FAIL at " . $time .' seconds.', 'fg-red', true); } else { $numAssertions = ($test instanceof \PHPUnit\Framework\TestCase) ? $test->getNumAssertions() : 1; if ($numAssertions > 0) { @@ -67,8 +67,7 @@ public function startTestSuite(\PHPUnit\Framework\TestSuite $suite) parent::startTestSuite($suite); if (!$this->headerPrinted) { - $header = " -██████╗ ██╗ ██╗██████╗ ██╗ ██╗███╗ ██╗██╗████████╗ + $header = "██████╗ ██╗ ██╗██████╗ ██╗ ██╗███╗ ██╗██╗████████╗ ██╔══██╗██║ ██║██╔══██╗██║ ██║████╗ ██║██║╚══██╔══╝ ██████╔╝███████║██████╔╝██║ ██║██╔██╗ ██║██║ ██║ ██╔═══╝ ██╔══██║██╔═══╝ ██║ ██║██║╚██╗██║██║ ██║