Skip to content

Commit

Permalink
Merge branch '9.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Apr 3, 2022
2 parents 9f53d2a + aba6309 commit bdffeb1
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tests/unit/Framework/Constraint/ExceptionMessageRegExpTest.php
Expand Up @@ -35,18 +35,6 @@ public function testRegexMessageExtreme(): void
throw new Exception('A polymorphic exception message');
}

#[RunInSeparateProcess]
#[RequiresPhpExtension('xdebug')]
public function testMessageXdebugScreamCompatibility(): void
{
ini_set('xdebug.scream', '1');

$this->expectException(Exception::class);
$this->expectExceptionMessageMatches('#Screaming preg_match#');

throw new Exception('Screaming preg_match');
}

public function testRegExMessageCanBeExportedAsString(): void
{
$exceptionMessageReExp = new ExceptionMessageRegularExpression('/^a poly[a-z]+ [a-zA-Z0-9_]+ me(s){2}age$/i');
Expand Down

0 comments on commit bdffeb1

Please sign in to comment.