svn: /pear/pear-core/trunk/PEAR/ RunTest.php

[email protected] (Helgi Þormar Þorbjörnsson) Tue, 05 Jul 2011 00:06:58 +0000
Newsgroups php.pear.cvs,php.pear.core
Message-ID <[email protected]>
--4e11b6737ebfe99c03a11f4d9591739055d3ecf0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

dufuz                                    Tue, 05 Jul 2011 00:06:58 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=312920

Log:
No trimming of lines when saving coverage lines as it can mess with expected output.

Changed paths:
    U   pear/pear-core/trunk/PEAR/RunTest.php

Modified: pear/pear-core/trunk/PEAR/RunTest.php
===================================================================
--- pear/pear-core/trunk/PEAR/RunTest.php	2011-07-04 23:38:09 UTC (rev 312919)
+++ pear/pear-core/trunk/PEAR/RunTest.php	2011-07-05 00:06:58 UTC (rev 312920)
@@ -389,8 +389,6 @@
             $coverage_shutdown = 'coverage_shutdown';

             for ($i = 0; $i < $numLines; $i++) {
-                $lines[$i] = trim($lines[$i]);
-
                 if ($lines[$i] == '<?' || $lines[$i] == '<?php') {
                     unset($lines[$i]);
                 }

--4e11b6737ebfe99c03a11f4d9591739055d3ecf0--