Skip to content

Commit

Permalink
Test to confirm #161 is fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
n0nag0n committed Jan 3, 2024
1 parent 362f3a0 commit 0b14934
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/RouterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,12 @@ public function testWildcard()
$this->check('OK');
}

public function testWildcardDuplicate() {
$this->router->map('/account/*' , [$this, 'ok']);
$this->request->url = '/account/account/account';
$this->check('OK');
}

// Check if route object was passed
public function testRouteObjectPassing()
{
Expand Down

0 comments on commit 0b14934

Please sign in to comment.