32 lines
671 B
PHP
32 lines
671 B
PHP
--TEST--
|
|
GH-433: expectOutputString not completely working as expected
|
|
--FILE--
|
|
<?php
|
|
|
|
$_SERVER['argv'][1] = '--no-configuration';
|
|
$_SERVER['argv'][2] = 'Issue433Test';
|
|
$_SERVER['argv'][3] = __DIR__ . '/433/Issue433Test.php';
|
|
|
|
require __DIR__ . '/../../bootstrap.php';
|
|
PHPUnit_TextUI_Command::main();
|
|
?>
|
|
--EXPECTF--
|
|
PHPUnit %s by Sebastian Bergmann and contributors.
|
|
|
|
..F 3 / 3 (100%)
|
|
|
|
Time: %s, Memory: %s
|
|
|
|
There was 1 failure:
|
|
|
|
1) Issue433Test::testNotMatchingOutput
|
|
Failed asserting that two strings are equal.
|
|
--- Expected
|
|
+++ Actual
|
|
@@ @@
|
|
-'foo'
|
|
+'bar'
|
|
|
|
FAILURES!
|
|
Tests: 3, Assertions: 3, Failures: 1.
|