chore: updates snapshots

This commit is contained in:
Nuno Maduro
2024-08-22 21:07:39 +01:00
parent 86d2191cae
commit 9ceb0834ae
3 changed files with 4 additions and 7 deletions

View File

@ -24,11 +24,7 @@ it('does not allow static closures', function () {
$testSuite->tests->set($method);
})->throws(
TestClosureMustNotBeStatic::class,
sprintf(
'The test `%s` closure must not be static in %s.',
'bar',
'foo',
)
'Test closure must not be static. Please remove the `static` keyword from the `bar` method in `foo`.',
);
it('alerts users about tests with arguments but no input', function () {