From 029bb2be5a8ecfce317810a5d278edef0f9bda5c Mon Sep 17 00:00:00 2001 From: Denis Date: Mon, 17 Feb 2014 14:23:00 +0200 Subject: [PATCH] Testing: fix typo in 8a5a7bd3 --- tests/Whoops/RunTest.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/Whoops/RunTest.php b/tests/Whoops/RunTest.php index 44f726d..0b73e82 100755 --- a/tests/Whoops/RunTest.php +++ b/tests/Whoops/RunTest.php @@ -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