mirror of
https://github.com/pestphp/pest.git
synced 2026-03-09 01:07:23 +01: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