Merge branch '2.x' into 3.x

This commit is contained in:
Nuno Maduro
2024-06-10 23:04:34 +01:00
7 changed files with 48 additions and 9 deletions

View File

@ -467,6 +467,18 @@ final class Expectation
return $this;
}
/**
* Asserts that the value is a list.
*
* @return self<TValue>
*/
public function toBeList(string $message = ''): self
{
Assert::assertIsList($this->value, $message);
return $this;
}
/**
* Asserts that the value is of type bool.
*

View File

@ -6,7 +6,7 @@ namespace Pest;
function version(): string
{
return '3.0.0-dev-0007';
return '3.0.0-dev-0008';
}
function testDirectory(string $file = ''): string