Yaffs site version 1.1
[yaffs-website] / vendor / phpunit / phpunit / tests / Regression / GitHub / 433.phpt
1 --TEST--
2 GH-433: expectOutputString not completely working as expected
3 --FILE--
4 <?php
5
6 $_SERVER['argv'][1] = '--no-configuration';
7 $_SERVER['argv'][2] = 'Issue433Test';
8 $_SERVER['argv'][3] = dirname(__FILE__) . '/433/Issue433Test.php';
9
10 require __DIR__ . '/../../bootstrap.php';
11 PHPUnit_TextUI_Command::main();
12 ?>
13 --EXPECTF--
14 PHPUnit %s by Sebastian Bergmann and contributors.
15
16 ..F
17
18 Time: %s, Memory: %s
19
20 There was 1 failure:
21
22 1) Issue433Test::testNotMatchingOutput
23 Failed asserting that two strings are equal.
24 --- Expected
25 +++ Actual
26 @@ @@
27 -'foo'
28 +'bar'
29
30 FAILURES!
31 Tests: 3, Assertions: 3, Failures: 1.