Skip to content
This repository was archived by the owner on Mar 12, 2025. It is now read-only.

Commit e610200

Browse files
committed
Backported expectExceptionMessageRegExp method
1 parent bc588b0 commit e610200

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/TestCase.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,9 @@ public static function tearDownAfterClass(): void
3333
static::_tearDownAfterClass();
3434
}
3535
}
36+
37+
public function expectExceptionMessageRegExp(string $regularExpression): void
38+
{
39+
$this->expectExceptionMessageMatches($regularExpression);
40+
}
3641
}

0 commit comments

Comments
 (0)