Pārlūkot izejas kodu

Zend_View_Helper_FormSelect uses some hardcoded \n so this test failed of Windows

Martin Hujer 12 gadi atpakaļ
vecāks
revīzija
c9b04dbfcc
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      tests/Zend/Form/Element/SelectTest.php

+ 2 - 2
tests/Zend/Form/Element/SelectTest.php

@@ -262,9 +262,9 @@ class Zend_Form_Element_SelectTest extends PHPUnit_Framework_TestCase
         $actual   = $this->element->render($this->getView());
         $expected = PHP_EOL
                   . '<select name="foo[]" id="foo">'
-                  . PHP_EOL
+                  . "\n"
                   . '    <option value="bar">Bar</option>'
-                  . PHP_EOL
+                  . "\n"
                   . '</select>';
 
         $this->assertSame($expected, $actual);