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