diff --git a/axum/Cargo.toml b/axum/Cargo.toml index 8d4fc6c2..15a5f777 100644 --- a/axum/Cargo.toml +++ b/axum/Cargo.toml @@ -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" diff --git a/axum/src/routing/tests/nest.rs b/axum/src/routing/tests/nest.rs index 1aa1dcd7..7067f21f 100644 --- a/axum/src/routing/tests/nest.rs +++ b/axum/src/routing/tests/nest.rs @@ -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 {})))