Skip to content

Commit

Permalink
Fix new test
Browse files Browse the repository at this point in the history
  • Loading branch information
mladedav committed Oct 3, 2024
1 parent 410ddf2 commit 9f21443
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions axum/src/extract/path/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Tuple>| async {}));
.route("/foo/{a}/{b}/{c}", get(|_: Path<(String, String)>| async {}))
.route("/bar/{a}/{b}/{c}", get(|_: Path<Tuple>| async {}));

let client = TestClient::new(app);

Expand Down

0 comments on commit 9f21443

Please sign in to comment.