mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
chore: adjusts tests
This commit is contained in:
@ -27,7 +27,7 @@ it('does not allow static closures', function () {
|
|||||||
$testSuite->tests->set($method);
|
$testSuite->tests->set($method);
|
||||||
})->throws(
|
})->throws(
|
||||||
TestClosureMustNotBeStatic::class,
|
TestClosureMustNotBeStatic::class,
|
||||||
'Test closure must not be static. Please remove the `static` keyword from the `bar` method in `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 () {
|
it('alerts users about tests with arguments but no input', function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user