From 357ec07ca4e70316aa4ef76d155feb166d555776 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 18 Jun 2011 15:06:45 -0400 Subject: [PATCH] Don't print OK if a test fails --- testing/test_listener.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/test_listener.php b/testing/test_listener.php index e9a94bf..aa07973 100644 --- a/testing/test_listener.php +++ b/testing/test_listener.php @@ -174,7 +174,7 @@ class TestListener extends \PHPUnit_Util_Printer implements \PHPUnit_Framework_T $name = $test->ToString(); if (in_array($name, $this->skipped) || in_array($name, $this->incomplete)) { $this->_Print('[ ABORT ]', $name . ' (' . $this->_Round($time) . ' ms)', self::COLOR_CYAN); - } else { + } else if (!in_array($name, $this->failing)) { $this->_Print('[ OK ]', $name . ' (' . $this->_Round($time) . ' ms)', self::COLOR_GREEN); } } -- 2.43.5