Merge branch '3.x' into feat/presets

This commit is contained in:
Nuno Maduro
2024-06-11 22:54:05 +01:00
committed by GitHub
8 changed files with 45 additions and 6 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