~tcuthbert/wordpress/openstack-objectstorage

« back to all changes in this revision

Viewing changes to vendor/phpunit/phpunit/tests/Regression/GitHub/503.phpt

  • Committer: Jacek Nykis
  • Date: 2015-02-11 15:35:31 UTC
  • Revision ID: jacek.nykis@canonical.com-20150211153531-hmy6zi0ov2qfkl0b
Initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--TEST--
 
2
GH-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] = dirname(__FILE__).'/503/Issue503Test.php';
 
9
 
 
10
require __DIR__ . '/../../bootstrap.php';
 
11
PHPUnit_TextUI_Command::main();
 
12
?>
 
13
--EXPECTF--
 
14
PHPUnit %s by Sebastian Bergmann.
 
15
 
 
16
F
 
17
 
 
18
Time: %s, Memory: %sMb
 
19
 
 
20
There was 1 failure:
 
21
 
 
22
1) Issue503Test::testCompareDifferentLineEndings
 
23
Failed 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
 
 
32
FAILURES!
 
33
Tests: 1, Assertions: 1, Failures: 1.