mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-29 00:00:18 +02:00
chore: Upgrade matchit to 0.8 (#2645)
This commit is contained in:
@@ -371,11 +371,11 @@ mod tests {
|
||||
async fn tsr_with_params() {
|
||||
let app = Router::new()
|
||||
.route_with_tsr(
|
||||
"/a/:a",
|
||||
"/a/{a}",
|
||||
get(|Path(param): Path<String>| async move { param }),
|
||||
)
|
||||
.route_with_tsr(
|
||||
"/b/:b/",
|
||||
"/b/{b}/",
|
||||
get(|Path(param): Path<String>| async move { param }),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user