Issues

ZF-10848: Zend_CodeGenerator tests failing due to trailing spaces

Description

Zend_CodeGenerator tests are failing on the latest trunk due to trailing whitespace:

There were 3 failures:

1) Zend_CodeGenerator_Php_DocblockTest::testTagGettersAndSetters
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
 /**
- * @blah
+ * @blah 
  * @param string
  * @return int
  */

/tests/Zend/CodeGenerator/Php/DocblockTest.php:84

2) Zend_CodeGenerator_Php_FileTest::testFromReflectionFile
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
 <?php
 /**
  * File header here
- *
+ * 
  * @author Ralph Schindler 
- *
+ * 

@@ @@
  * class docblock
- *
+ * 
  * @package Zend_Reflection_TestSampleSingleClass
- *
+ * 

@@ @@
      * Enter description here...
-     *
+     * 
      * @return bool
-     *
+     * 
      */
     public function someMethod()
     {
         /* test test */
     }
 
     public function foobar()
     {
     }
 
 
 }

/tests/Zend/CodeGenerator/Php/FileTest.php:169

3) Zend_CodeGenerator_Php_MethodTest::testMethodFromReflection
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
     /**
      * Enter description here...
-     *
+     * 
      * @return bool
-     *
+     * 
      */
     public function someMethod()
     {
         /* test test */
     }

/tests/Zend/CodeGenerator/Php/MethodTest.php:110

Comments

Fixed in r23559, merged to release branch 1.11 in r23560