[Debug] Skip a test that was meant for HHVM.

This commit is contained in:
Alexander M. Turek 2020-09-09 00:19:14 +02:00
parent 91b6739031
commit bf62a4d622

View File

@ -558,6 +558,10 @@ class ErrorHandlerTest extends TestCase
*/ */
public function testHandleFatalErrorOnHHVM() public function testHandleFatalErrorOnHHVM()
{ {
if (!\defined('HHVM_VERSION')) {
$this->markTestSkipped('This test requires HHVM.');
}
try { try {
$handler = ErrorHandler::register(); $handler = ErrorHandler::register();