From dfd3f189878115f6fd80e6999d88e82bc36ea595 Mon Sep 17 00:00:00 2001 From: meus Date: Tue, 4 Sep 2007 13:19:42 +0000 Subject: [PATCH] fixing web test runner --- tests/run.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/run.php b/tests/run.php index a59b16224..0fec77353 100644 --- a/tests/run.php +++ b/tests/run.php @@ -375,15 +375,14 @@ class MyReporter extends HtmlReporter { print '
';
         foreach ($this->_test->getMessages() as $message) {
-            print $message . '\n';
+            print $message;
         }
         print '
'; $colour = ($this->_test->getFailCount() > 0 ? 'red' : 'green'); print '
'; - print $this->_test->getTestCaseCount() . ' test cases'; - print ' test cases complete:\n'; + print $this->_test->getTestCaseCount() . ' test cases.'; print '' . $this->_test->getPassCount() . ' passes and '; print '' . $this->_test->getFailCount() . ' fails.'; print '
';