Skip to content

Commit 50cb4b4

Browse files
committed
test: update assertion
1 parent a9e44f0 commit 50cb4b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/system/Helpers/URLHelper/MiscUrlTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,7 @@ public function testUrlToWithRouteWithNestedParentheses(): void
949949
public function testUrlToMissingArgument(): void
950950
{
951951
$this->expectException(InvalidArgumentException::class);
952-
$this->expectExceptionMessage('Missing argument for "([a-zA-Z]+)" in route "([a-zA-Z]+)/login".');
952+
$this->expectExceptionMessage('Missing argument for "(:alpha)" in route "(:alpha)/login".');
953953

954954
$routes = Services::routes();
955955
$routes->group('(:alpha)', static function ($routes): void {

0 commit comments

Comments
 (0)