mirror of
https://github.com/pestphp/pest.git
synced 2026-04-24 16:07:31 +02:00
chore(expectations): rename 'toMatchRegEx' to 'toMatch'
This commit is contained in:
@ -508,7 +508,7 @@ final class Expectation
|
||||
/**
|
||||
* Asserts that the value matches a regular expression.
|
||||
*/
|
||||
public function toMatchRegEx(string $expression): Expectation
|
||||
public function toMatch(string $expression): Expectation
|
||||
{
|
||||
Assert::assertMatchesRegularExpression($expression, $this->value);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user