mirror of
https://github.com/filp/whoops.git
synced 2026-09-18 05:36:21 +00:00
Testing: fix typo in 8a5a7bd3
This commit is contained in:
@@ -279,10 +279,6 @@ class RunTest extends TestCase
|
||||
|
||||
public function testErrorCatching()
|
||||
{
|
||||
if (defined('HHVM_VERSION')) {
|
||||
return $this->markTestSkipped('Skipped due to a bug in HHVM.');
|
||||
}
|
||||
|
||||
$run = $this->getRunInstance();
|
||||
$run->register();
|
||||
|
||||
@@ -298,7 +294,7 @@ class RunTest extends TestCase
|
||||
;
|
||||
|
||||
try {
|
||||
trigger_error(E_USER_NOTICE, 'foo');
|
||||
trigger_error('foo', E_USER_NOTICE);
|
||||
$this->fail('Should not continue after error thrown');
|
||||
} catch (\ErrorException $e) {
|
||||
// Do nothing
|
||||
|
||||
Reference in New Issue
Block a user