From fdb23965a0daf06e85de4fc11a83e5f96656cc81 Mon Sep 17 00:00:00 2001 From: Sam Light Date: Wed, 10 Jun 2026 19:00:33 +0100 Subject: code formatting --- tests/Unit/RouterTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/Unit/RouterTest.php') diff --git a/tests/Unit/RouterTest.php b/tests/Unit/RouterTest.php index a7e7a21..d0f8912 100644 --- a/tests/Unit/RouterTest.php +++ b/tests/Unit/RouterTest.php @@ -228,9 +228,9 @@ it('makes a :dataset route') }) ->toBeInstanceOf(RouteMatch::class); -it('makes route with or without / prefix', function(string $path) { - $router = new Router; - $r = $router->get($path, fn() => null)->getRoute(); +it('makes route with or without / prefix', function (string $path) { + $router = new Router(); + $r = $router->get($path, fn () => null)->getRoute(); expect($router->findRoute(HttpMethod::Get, '/test')?->route)->toBe($r); })->with(['/test', 'test']); -- cgit v1.2.3