We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 92acfbf + 014521c commit 32d46feCopy full SHA for 32d46fe
test/Github/Tests/HttpClient/Plugin/GithubExceptionThrowerTest.php
@@ -49,7 +49,7 @@ function (RequestInterface $request) use ($promise) {
49
if ($exception) {
50
$this->expectException(get_class($exception));
51
$this->expectExceptionCode($exception->getCode());
52
- $this->expectExceptionMessageRegExp('/'.preg_quote($exception->getMessage(), '/').'$/');
+ $this->expectExceptionMessageMatches('/'.preg_quote($exception->getMessage(), '/').'$/');
53
}
54
55
$result->wait();
0 commit comments