mirror of
https://github.com/tokio-rs/axum.git
synced 2025-04-26 13:56:22 +02:00
axum: fix new formatting string clippy lint (#3162)
This commit is contained in:
parent
18a99da0b0
commit
b5236eaff4
1 changed files with 4 additions and 4 deletions
|
@ -978,8 +978,8 @@ mod tests {
|
|||
);
|
||||
|
||||
let client = TestClient::new(app);
|
||||
let res = client.get("/resources/123123-123-123123").await;
|
||||
let body = res.text().await;
|
||||
let response = client.get("/resources/123123-123-123123").await;
|
||||
let body = response.text().await;
|
||||
assert_eq!(
|
||||
body,
|
||||
"Invalid URL: Cannot parse `res` with value `123123-123-123123`: UUID parsing failed: invalid group count: expected 5, found 3"
|
||||
|
@ -999,8 +999,8 @@ mod tests {
|
|||
);
|
||||
|
||||
let client = TestClient::new(app);
|
||||
let res = client.get("/resources/456456-123-456456/sub/123").await;
|
||||
let body = res.text().await;
|
||||
let response = client.get("/resources/456456-123-456456/sub/123").await;
|
||||
let body = response.text().await;
|
||||
assert_eq!(
|
||||
body,
|
||||
"Invalid URL: Cannot parse `res` with value `456456-123-456456`: UUID parsing failed: invalid group count: expected 5, found 3"
|
||||
|
|
Loading…
Add table
Reference in a new issue