From b2d6c86cd81f818ceabfaac7a7b9174734f318d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl=20G=C3=BCtzkow?= <70779496+CJGutz@users.noreply.github.com> Date: Sat, 31 Aug 2024 19:55:10 +0200 Subject: [PATCH] format --- unchained/src/router.rs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/unchained/src/router.rs b/unchained/src/router.rs index 1693777..0f7963f 100644 --- a/unchained/src/router.rs +++ b/unchained/src/router.rs @@ -242,13 +242,7 @@ mod tests { #[test] fn test_root_route() { - let route_paths = vec![ - ("/", "/"), - ("/*", "/"), - ("", "/"), - ("/", ""), - ("", ""), - ]; + let route_paths = vec![("/", "/"), ("/*", "/"), ("", "/"), ("/", ""), ("", "")]; for (route, path) in route_paths { let (matches, _) = compare_route_w_path_and_get_path_params(route, path); assert!(matches);