chore: fixes test suite

This commit is contained in:
Nuno Maduro
2024-08-20 22:57:10 +01:00
parent f72d6f2278
commit 8fe2698c28

View File

@ -51,7 +51,7 @@ test('failures 3', function () {
})->toThrow(function (RuntimeException $e) {
//
});
})->throws(ExpectationFailedException::class, 'Failed asserting that an object is an instance of class RuntimeException.');
})->throws(ExpectationFailedException::class, 'Failed asserting that an instance of class Exception is an instance of class RuntimeException.');
test('failures 4', function () {
expect(function () {