Skip to content
This repository was archived by the owner on Oct 11, 2024. It is now read-only.

Commit f6e899d

Browse files
committed
test: add test for multiple nested groups
1 parent a079a93 commit f6e899d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/groups.test.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,5 +121,6 @@ class TGroup
121121
$rx2Routes = $rx2->routes();
122122

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

0 commit comments

Comments
 (0)