Uses Collision ^7.0

This commit is contained in:
Nuno Maduro
2022-09-15 01:07:15 +01:00
parent eab944023c
commit 3ff95faaaa
47 changed files with 646 additions and 308 deletions

View File

@ -32,7 +32,9 @@ it('not catch exceptions if given condition is false', function () {
it('catch exceptions if given condition is true', function () {
throw new Exception('Something bad happened');
})->throwsIf(function () { return true; }, Exception::class);
})->throwsIf(function () {
return true;
}, Exception::class);
it('catch exceptions and messages if given condition is true', function () {
throw new Exception('Something bad happened');