1
0
Fork 0
pull/426/merge
Jordi Boggiano 2012-04-08 16:55:45 +02:00
parent 146215e167
commit 96c9bf80cc
1 changed files with 10 additions and 0 deletions

View File

@ -46,4 +46,14 @@ class ErrorHandlerTest extends TestCase
array_merge(array(), 'string');
}
/**
* Test ErrorHandler handles warnings
*/
public function testErrorHandlerRespectsAtOperator()
{
ErrorHandler::register();
@trigger_error('test', E_USER_NOTICE);
}
}