Skip to content

Commit

Permalink
#2111 - Fix tests in 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Feb 21, 2021
1 parent fdb03c7 commit 5d38953
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function testImplementInterfaceInMethodSignature(): void
public function testImplementInterfaceInMethodSignatureInt(): void
{
$this->expectException(\TypeError::class);
$this->expectExceptionMessageMatches('/must be of ?(the) type int, bool given/');
$this->expectExceptionMessageMatches('/must be of (the\s)?type int, bool given/');

(new ImplementInt())->set(true);
}
Expand Down

0 comments on commit 5d38953

Please sign in to comment.