Skip to content

Commit 4e03cd3

Browse files
committed
release: v4.6.0
1 parent eeab24e commit 4e03cd3

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

src/Pest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
function version(): string
88
{
9-
return '4.4.4';
9+
return '4.6.0';
1010
}
1111

1212
function testDirectory(string $file = ''): string

src/Plugins/Shard.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,10 @@ public function handleArguments(array $arguments): array
142142
'testsCount' => count($tests),
143143
];
144144

145+
if ($testsToRun === []) {
146+
return $arguments;
147+
}
148+
145149
return [...$arguments, '--filter', $this->buildFilterArgument($testsToRun)];
146150
}
147151

tests/.pest/snapshots/Visual/Help/visual_snapshot_of_help_command_output.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
Pest Testing Framework 4.4.4.
2+
Pest Testing Framework 4.6.0.
33

44
USAGE: pest <file> [options]
55

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11

2-
Pest Testing Framework 4.4.4.
2+
Pest Testing Framework 4.6.0.
33

0 commit comments

Comments
 (0)