Issues

ZF-10848: Zend_CodeGenerator tests failing due to trailing spaces

Issue Type: Bug Created: 2010-12-19T12:37:12.000+0000 Last Updated: 2010-12-19T12:54:17.000+0000 Status: Resolved Fix version(s): - 1.11.2 (30/Dec/10)

Reporter: Marc Hodgins (mjh_ca) Assignee: Marc Hodgins (mjh_ca) Tags: - Zend_CodeGenerator

Related issues: Attachments:

Description

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

<pre class="literal">
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

Posted by Marc Hodgins (mjh_ca) on 2010-12-19T12:54:17.000+0000

Fixed in r23559, merged to release branch 1.11 in r23560

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts