summaryrefslogtreecommitdiff
path: root/_test/lib
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2010-10-03 13:13:24 +0200
committerAndreas Gohr <andi@splitbrain.org>2010-10-03 13:13:24 +0200
commitcf1b22acfe590acea76aa3f0bd4421515d3d04d9 (patch)
tree018f8c7a2a3301456c72beb966fd4a85a0d99a02 /_test/lib
parent2237b4fa4c84beb06a92308a19e45027e2bdc131 (diff)
downloadrpg-cf1b22acfe590acea76aa3f0bd4421515d3d04d9.tar.gz
rpg-cf1b22acfe590acea76aa3f0bd4421515d3d04d9.tar.bz2
reset failinfo on next test case
Diffstat (limited to '_test/lib')
-rw-r--r--_test/lib/cli_reporter.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/_test/lib/cli_reporter.php b/_test/lib/cli_reporter.php
index e83911c73..3ad88119d 100644
--- a/_test/lib/cli_reporter.php
+++ b/_test/lib/cli_reporter.php
@@ -62,6 +62,14 @@ class CLIReporter extends SimpleReporter {
}
/**
+ * reset failinfo
+ */
+ function paintPass($message) {
+ parent::paintPass($message);
+ $this->_failinfo = '';
+ }
+
+ /**
* Paint exception faildetail to STDERR.
*/
function paintException($message) {