sebastianbergmann/phpunit — Issue #503: assertEquals() Line Ending Differences Are Obscure
Author: kherge
Created: 2012-02-15 17:20:52+00:00
State: open

When using `assertEquals("Windows EOL", "Unix EOL")` with multi-line text, assertEquals() properly displays a failure, but does not show why in the difference report.

1) Namespace\ClassName::testCreateResponse
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
Parameter: parameter value
Context: context value
URL: http://localhost/test?key=value

/path/to/test/file.php:55