소스 검색

Check only part of the error message as it's different in hhvm

Nils Adermann 11 년 전
부모
커밋
42dd2f2ee8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tests/Composer/Test/Util/ErrorHandlerTest.php

+ 1 - 1
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();