fix: wording on exception

This commit is contained in:
Nuno Maduro
2025-08-03 09:31:31 -06:00
parent e524bf5f73
commit 91bb7589e2

View File

@ -19,7 +19,11 @@ final class TestCaseAlreadyInUse extends InvalidArgumentException implements Exc
*/ */
public function __construct(string $inUse, string $newOne, string $folder) public function __construct(string $inUse, string $newOne, string $folder)
{ {
parent::__construct(sprintf('Test case `%s` can not be used. The folder `%s` already uses the test case `%s`', parent::__construct(sprintf(
$newOne, $folder, $inUse)); 'Test case [%s] can not be used. The folder [%s] already uses the test case [%s].',
$newOne,
$folder,
$inUse,
));
} }
} }