Skip to content

Commit 9f21443

Browse files
committed
Fix new test
1 parent 410ddf2 commit 9f21443

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

axum/src/extract/path/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -754,8 +754,8 @@ mod tests {
754754
struct Tuple(String, String);
755755

756756
let app = Router::new()
757-
.route("/foo/:a/:b/:c", get(|_: Path<(String, String)>| async {}))
758-
.route("/bar/:a/:b/:c", get(|_: Path<Tuple>| async {}));
757+
.route("/foo/{a}/{b}/{c}", get(|_: Path<(String, String)>| async {}))
758+
.route("/bar/{a}/{b}/{c}", get(|_: Path<Tuple>| async {}));
759759

760760
let client = TestClient::new(app);
761761

0 commit comments

Comments
 (0)