Upgrade matchit (#2997)

This commit is contained in:
Jonas Platte 2024-10-21 08:51:14 +00:00 committed by GitHub
parent ffeb4f9407
commit 72819848e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -48,7 +48,7 @@ http = "1.0.0"
http-body = "1.0.0"
http-body-util = "0.1.0"
itoa = "1.0.5"
matchit = "=0.8.0"
matchit = "=0.8.4"
memchr = "2.4.1"
mime = "0.3.16"
percent-encoding = "2.1"

View file

@ -228,7 +228,7 @@ async fn nested_multiple_routes() {
}
#[test]
#[should_panic = "Invalid route \"/\": insertion failed due to conflict with previously registered route: /"]
#[should_panic = r#"Invalid route "/": Insertion failed due to conflict with previously registered route: /"#]
fn nested_service_at_root_with_other_routes() {
let _: Router = Router::new()
.nest_service("/", Router::new().route("/users", get(|| async {})))