Skip to content

Commit

Permalink
test: update assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Aug 30, 2023
1 parent a9e44f0 commit 50cb4b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/system/Helpers/URLHelper/MiscUrlTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ public function testUrlToWithRouteWithNestedParentheses(): void
public function testUrlToMissingArgument(): void
{
$this->expectException(InvalidArgumentException::class);
$this->expectExceptionMessage('Missing argument for "([a-zA-Z]+)" in route "([a-zA-Z]+)/login".');
$this->expectExceptionMessage('Missing argument for "(:alpha)" in route "(:alpha)/login".');

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

0 comments on commit 50cb4b4

Please sign in to comment.