mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-23 00:00:15 +02:00
axum: fix new formatting string clippy lint (#3162)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user