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.
1 parent 92acfbf commit 014521cCopy full SHA for 014521c
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