fix: don't allow invalid class names

This commit is contained in:
nuno maduro
2026-08-04 20:46:21 +01:00
parent 872f0a50c2
commit 92c7677c6e
23 changed files with 147 additions and 19 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ it('does not allow to add the same test description twice', function (): void {
$testSuite->tests->set($method);
})->throws(
TestAlreadyExist::class,
sprintf('A test with the description `%s` already exists in the filename `%s`.', 'bar', 'foo'),
sprintf('A test with the description [%s] already exists in the filename [%s].', 'bar', 'foo'),
);
it('does not allow static closures', function (): void {