mirror of
https://github.com/pestphp/pest.git
synced 2026-03-05 23:37:22 +01:00
fix: shard regex
This commit is contained in:
@ -84,7 +84,7 @@ final class Shard implements HandlesArguments
|
||||
'--list-tests',
|
||||
]))->mustRun()->getOutput();
|
||||
|
||||
preg_match_all('/ - (?:P\\\)?(.+)::/', $output, $matches);
|
||||
preg_match_all('/ - (?:P\\\\)?(Tests\\\\[^:]+)::/', $output, $matches);
|
||||
|
||||
return array_values(array_unique($matches[1]));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user