From 42dd2f2ee8dad155ec566fe8405980dea7b2196f Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Mon, 14 Oct 2013 15:15:09 -0700 Subject: [PATCH] Check only part of the error message as it's different in hhvm --- tests/Composer/Test/Util/ErrorHandlerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Composer/Test/Util/ErrorHandlerTest.php b/tests/Composer/Test/Util/ErrorHandlerTest.php index 485c2bd39..cb16a1e13 100644 --- a/tests/Composer/Test/Util/ErrorHandlerTest.php +++ b/tests/Composer/Test/Util/ErrorHandlerTest.php @@ -38,7 +38,7 @@ class ErrorHandlerTest extends TestCase */ public function testErrorHandlerCaptureWarning() { - $this->setExpectedException('\ErrorException', 'array_merge(): Argument #2 is not an array'); + $this->setExpectedException('\ErrorException', 'array_merge'); ErrorHandler::register();