letsdrink / ouzo

Ouzo Framework - PHP MVC ORM
https://github.com/letsdrink/ouzo
MIT License
70 stars 8 forks source link

Use PHP_EOL in ToStringBuilderTest.php [Fix tests on windows] #283

Closed danon closed 4 years ago

danon commented 4 years ago

ToStringBuilderTest failed when file line endings (LF) was different than PHP_EOL on running machine (CRLF in my case).

I replaced the multiline string with PHP_EOL.

You can see the tests fail if you run the tests on platform with PHP_EOL != "\n".

bbankowski commented 4 years ago

@Danon Thanks for the fix!