1--TEST--
2GH-2731: Empty exception message cannot be expected
3--FILE--
4<?php
5$_SERVER['argv'][1] = '--no-configuration';
6$_SERVER['argv'][2] = 'Issue2731Test';
7$_SERVER['argv'][3] = __DIR__ . '/2731/Issue2731Test.php';
8
9require __DIR__ . '/../../bootstrap.php';
10
11PHPUnit_TextUI_Command::main();
12?>
13--EXPECTF--
14PHPUnit %s by Sebastian Bergmann and contributors.
15
16F                                                                   1 / 1 (100%)
17
18Time: %s, Memory: %s
19
20There was 1 failure:
21
221) Issue2731Test::testOne
23Failed asserting that exception message is empty but is 'message'.
24
25FAILURES!
26Tests: 1, Assertions: 2, Failures: 1.
27