https://src.bluestatic.org
/
hoplite.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a443973
)
Don't print OK if a test fails
author
Robert Sesek <rsesek@bluestatic.org>
Sat, 18 Jun 2011 19:06:45 +0000
(15:06 -0400)
committer
Robert Sesek <rsesek@bluestatic.org>
Sat, 18 Jun 2011 19:06:45 +0000
(15:06 -0400)
testing/test_listener.php
patch
|
blob
|
history
diff --git
a/testing/test_listener.php
b/testing/test_listener.php
index e9a94bfa0c43dbf7f6dac587076c4d6f39f25c7a..aa07973adc8879b9f4770ed2f95f061369effed6 100644
(file)
--- 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);
}
}