Merge branch 'master' into higher-order-tap-and-defer

# Conflicts:
#	tests/.snapshots/success.txt
This commit is contained in:
luke
2021-06-24 22:57:48 +01:00
5 changed files with 32 additions and 4 deletions

View File

@ -63,6 +63,20 @@ final class HigherOrderExpectation
return $this;
}
/**
* Creates a new expectation.
*
* @template TValue
*
* @param TValue $value
*
* @return Expectation<TValue>
*/
public function and($value): Expectation
{
return $this->expect($value);
}
/**
* Dynamically calls methods on the class with the given arguments.
*

View File

@ -6,7 +6,7 @@ namespace Pest;
function version(): string
{
return '1.7.0';
return '1.7.1';
}
function testDirectory(string $file = ''): string