1--TEST--
2GH-503: assertEquals() Line Ending Differences Are Obscure
3--FILE--
4<?php
5
6$_SERVER['argv'][1] = '--no-configuration';
7$_SERVER['argv'][2] = 'Issue503Test';
8$_SERVER['argv'][3] = __DIR__ . '/503/Issue503Test.php';
9
10require __DIR__ . '/../../bootstrap.php';
11PHPUnit_TextUI_Command::main();
12?>
13--EXPECTF--
14PHPUnit %s by Sebastian Bergmann and contributors.
15
16F                                                                   1 / 1 (100%)
17
18Time: %s, Memory: %s
19
20There was 1 failure:
21
221) Issue503Test::testCompareDifferentLineEndings
23Failed asserting that two strings are identical.
24--- Expected
25+++ Actual
26@@ @@
27 #Warning: Strings contain different line endings!
28 foo
29
30%s:%i
31
32FAILURES!
33Tests: 1, Assertions: 1, Failures: 1.
34