Skip to content

Commit

Permalink
test: add test for multiple nested groups
Browse files Browse the repository at this point in the history
  • Loading branch information
mychidarko committed May 1, 2023
1 parent a079a93 commit f6e899d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/groups.test.php
Expand Up @@ -121,5 +121,6 @@ class TGroup
$rx2Routes = $rx2->routes();

expect($rx2Routes)->toBeArray();
expect($rx2Routes[count($rx2Routes) - 2]['pattern'] ?? null)->toBe('/group/nested/route');
expect($rx2Routes[count($rx2Routes) - 1]['pattern'] ?? null)->toBe('/group/nested2/route');
});

0 comments on commit f6e899d

Please sign in to comment.