mirror of
https://github.com/pestphp/pest.git
synced 2026-12-04 23:15:06 +01:00
fix(sharding): strip --runner from the --list-tests sub-process (#2004)
* fix(sharding): strip `--runner` from the `--list-tests` sub-process * fix(sharding): strip a space-separated `--runner` value too Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> * test: count the two new shard tests in the visual suite totals Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Apa <mikko@apaiko.fi> Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -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, 29 skipped, 1622 passed (3577 assertions)';
|
||||
$expected = '2 deprecated, 4 warnings, 5 incomplete, 3 notices, 40 todos, 29 skipped, 1624 passed (3579 assertions)';
|
||||
|
||||
expect($output)
|
||||
->toContain("Tests: {$expected}")
|
||||
|
||||
Reference in New Issue
Block a user