From cf1b22acfe590acea76aa3f0bd4421515d3d04d9 Mon Sep 17 00:00:00 2001
From: Andreas Gohr <andi@splitbrain.org>
Date: Sun, 3 Oct 2010 13:13:24 +0200
Subject: [PATCH] reset failinfo on next test case

---
 _test/lib/cli_reporter.php | 8 ++++++++
 1 file changed, 8 insertions(+)

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
@@ -61,6 +61,14 @@ class CLIReporter extends SimpleReporter {
         }
     }
 
+    /**
+     * reset failinfo
+     */
+    function paintPass($message) {
+        parent::paintPass($message);
+        $this->_failinfo = '';
+    }
+
     /**
      * Paint exception faildetail to STDERR.
      */
-- 
GitLab