mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Check only part of the error message as it's different in hhvm
This commit is contained in:
parent
4f51db72f8
commit
42dd2f2ee8
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue