Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
CJGutz committed Aug 31, 2024
1 parent 53bd85e commit b2d6c86
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions unchained/src/router.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b2d6c86

Please sign in to comment.