diff --git a/tests/Unit/TestSuite.php b/tests/Unit/TestSuite.php index 5de7a902..9d3d7904 100644 --- a/tests/Unit/TestSuite.php +++ b/tests/Unit/TestSuite.php @@ -27,7 +27,7 @@ it('does not allow static closures', function () { $testSuite->tests->set($method); })->throws( 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 () {