ZendTest many tests failed for Windows #5163

Closed
wants to merge 2 commits into
from

2 participants

@turrsis

No description provided.

turrsis added some commits Sep 23, 2013
@turrsis turrsis fix tests for windows
EOL, DIRECTORY_SEPARATOR, etc
ZendTest\Mail\Header\ToTest - sometime, under Netbeans uniqid() not work correct
9fe0c34
@turrsis turrsis revert ClassMapAutoloader 920bfe8
@Ocramius Ocramius commented on the diff Sep 23, 2013
tests/Bootstrap.php
@@ -94,3 +94,19 @@
* Unset global variables that are no longer needed.
*/
unset($zfRoot, $zfCoreLibrary, $zfCoreTests, $path);
+
+function _normalizeEOL($content, $deleteEmpty = true)
@Ocramius
Zend Framework member
Ocramius added a line comment Sep 23, 2013

Please, no.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@Ocramius
Zend Framework member

The tests run just fine on my windows box - are you sure your environment isn't modifying the line endings aggressively?

@turrsis

I use https://code.google.com/p/tortoisegit/.
What client are you use?
You has not fails with DIRECTORY_SEPARATOR too?

@Ocramius
Zend Framework member

Same here

@turrsis

I use WIndows 7 Proffesional 64bit SP1, and you?

@Ocramius
Zend Framework member
@turrsis

crlf is ok.
this is realy my inattention. thanks.

@turrsis turrsis closed this Sep 24, 2013
@turrsis turrsis referenced this pull request Oct 29, 2013
Closed

Php unit windows #5369

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment