~tcuthbert/wordpress/openstack-objectstorage

« back to all changes in this revision

Viewing changes to vendor/phpunit/phpunit/tests/Regression/GitHub/445.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-455: expectOutputString not working in strict mode
 
3
--FILE--
 
4
<?php
 
5
 
 
6
$_SERVER['argv'][1] = '--no-configuration';
 
7
$_SERVER['argv'][2] = '--strict';
 
8
$_SERVER['argv'][3] = 'Issue445Test';
 
9
$_SERVER['argv'][4] = dirname(__FILE__).'/445/Issue445Test.php';
 
10
 
 
11
require __DIR__ . '/../../bootstrap.php';
 
12
PHPUnit_TextUI_Command::main();
 
13
?>
 
14
--EXPECTF--
 
15
PHPUnit %s by Sebastian Bergmann.
 
16
 
 
17
..F
 
18
 
 
19
Time: %s, Memory: %sMb
 
20
 
 
21
There was 1 failure:
 
22
 
 
23
1) Issue445Test::testNotMatchingOutput
 
24
Failed asserting that two strings are equal.
 
25
--- Expected
 
26
+++ Actual
 
27
@@ @@
 
28
-'foo'
 
29
+'bar'
 
30
 
 
31
FAILURES!
 
32
Tests: 3, Assertions: 3, Failures: 1.