mirror of
https://github.com/pestphp/pest.git
synced 2026-03-10 09:47:23 +01:00
Merge branch '2.x' into 3.x
This commit is contained in:
@ -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.
|
||||
*
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user