fix(sharding): prevent shard filters from matching classes outside their partition (#1884)

* fix(sharding): prevent shard filters from matching classes outside their partition

* lint

* test: update snapshots for the shard filter boundary cases
This commit is contained in:
Punyapal Shah
2026-10-12 00:09:04 +05:30
committed by GitHub
parent 68b4c9176d
commit 5b98dc7df2
4 changed files with 74 additions and 12 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ test('parallel', function () use ($run): void {
$output = $run('--exclude-group=integration');
$output = implode("\n", array_slice(explode("\n", (string) $output), -10));
$expected = '2 deprecated, 4 warnings, 5 incomplete, 3 notices, 40 todos, 27 skipped, 1581 passed (3431 assertions)';
$expected = '2 deprecated, 4 warnings, 5 incomplete, 3 notices, 40 todos, 27 skipped, 1584 passed (3437 assertions)';
expect($output)
->toContain("Tests: {$expected}")