diff options
Diffstat (limited to 'vendor/phpunit/phpunit/tests/Regression/GitHub/503.phpt')
-rw-r--r-- | vendor/phpunit/phpunit/tests/Regression/GitHub/503.phpt | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/vendor/phpunit/phpunit/tests/Regression/GitHub/503.phpt b/vendor/phpunit/phpunit/tests/Regression/GitHub/503.phpt new file mode 100644 index 0000000..07aecb7 --- /dev/null +++ b/vendor/phpunit/phpunit/tests/Regression/GitHub/503.phpt @@ -0,0 +1,33 @@ +--TEST-- +GH-503: assertEquals() Line Ending Differences Are Obscure +--FILE-- +<?php + +$_SERVER['argv'][1] = '--no-configuration'; +$_SERVER['argv'][2] = 'Issue503Test'; +$_SERVER['argv'][3] = __DIR__ . '/503/Issue503Test.php'; + +require __DIR__ . '/../../bootstrap.php'; +PHPUnit_TextUI_Command::main(); +?> +--EXPECTF-- +PHPUnit %s by Sebastian Bergmann and contributors. + +F 1 / 1 (100%) + +Time: %s, Memory: %s + +There was 1 failure: + +1) Issue503Test::testCompareDifferentLineEndings +Failed asserting that two strings are identical. +--- Expected ++++ Actual +@@ @@ + #Warning: Strings contain different line endings! + foo + +%s:%i + +FAILURES! +Tests: 1, Assertions: 1, Failures: 1. |