There was an error while loading. Please reload this page.
1 parent fa798e9 commit 531127bCopy full SHA for 531127b
1 file changed
tests/unit/Cli/Router/ConstructTest.php
@@ -51,7 +51,7 @@ public function testCliRouterConstruct(): void
51
$actual = $routes[0]->getPattern();
52
$this->assertSame($expected, $actual);
53
54
- $expected = "#^(?: )?([a-zA-Z0-9\\_\\-]+) ([a-zA-Z0-9\\.\\_]+)( .*)*$#";
+ $expected = "#^(?: )?([a-zA-Z0-9\\_\\-]+) ([a-zA-Z0-9\\.\\_]+)( .*)?$#";
55
$actual = $routes[1]->getPattern();
56
57
}
0 commit comments