mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-21 14:46:32 +01:00
Upgrade matchit (#2997)
This commit is contained in:
parent
ffeb4f9407
commit
72819848e3
2 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
|
@ -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 {})))
|
||||
|
|
Loading…
Reference in a new issue