mirror of
https://github.com/pestphp/pest.git
synced 2026-09-05 14:23:34 +02:00
chore: refactors exceptions
This commit is contained in:
@@ -9,4 +9,4 @@ it('throws exception if no class nor method has been found', function (): void {
|
||||
$testCall = new TestCall(TestSuite::getInstance(), 'filename', 'description', fn () => 'closure');
|
||||
|
||||
$testCall->covers('fakeName');
|
||||
})->throws(InvalidArgumentException::class, 'No class, trait or method named "fakeName" has been found.');
|
||||
})->throws(InvalidArgumentException::class, 'No class, trait or method named [fakeName] has been found.');
|
||||
|
||||
Reference in New Issue
Block a user