From 9f2144300a6c26ccc8980e2dd53b40678050511f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Ml=C3=A1dek?= Date: Thu, 3 Oct 2024 15:54:33 +0200 Subject: [PATCH] Fix new test --- axum/src/extract/path/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/axum/src/extract/path/mod.rs b/axum/src/extract/path/mod.rs index a6779a56446..0883f35eae3 100644 --- a/axum/src/extract/path/mod.rs +++ b/axum/src/extract/path/mod.rs @@ -754,8 +754,8 @@ mod tests { struct Tuple(String, String); let app = Router::new() - .route("/foo/:a/:b/:c", get(|_: Path<(String, String)>| async {})) - .route("/bar/:a/:b/:c", get(|_: Path| async {})); + .route("/foo/{a}/{b}/{c}", get(|_: Path<(String, String)>| async {})) + .route("/bar/{a}/{b}/{c}", get(|_: Path| async {})); let client = TestClient::new(app);