mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-13 18:30:42 +01:00
Remove raw string hashes (#3071)
This commit is contained in:
parent
7c871e9591
commit
fd11d8efde
1 changed files with 3 additions and 3 deletions
|
@ -949,7 +949,7 @@ mod tests {
|
||||||
let body = res.text().await;
|
let body = res.text().await;
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
body,
|
body,
|
||||||
r#"Invalid URL: Cannot parse `res` with value `123123-123-123123`: UUID parsing failed: invalid group count: expected 5, found 3"#
|
"Invalid URL: Cannot parse `res` with value `123123-123-123123`: UUID parsing failed: invalid group count: expected 5, found 3"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -970,7 +970,7 @@ mod tests {
|
||||||
let body = res.text().await;
|
let body = res.text().await;
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
body,
|
body,
|
||||||
r#"Invalid URL: Cannot parse `res` with value `456456-123-456456`: UUID parsing failed: invalid group count: expected 5, found 3"#
|
"Invalid URL: Cannot parse `res` with value `456456-123-456456`: UUID parsing failed: invalid group count: expected 5, found 3"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -992,6 +992,6 @@ mod tests {
|
||||||
let client = TestClient::new(app);
|
let client = TestClient::new(app);
|
||||||
let res = client.get("/te/st/_thing").await;
|
let res = client.get("/te/st/_thing").await;
|
||||||
let body = res.text().await;
|
let body = res.text().await;
|
||||||
assert_eq!(body, r#"Invalid URL: array types are not supported"#);
|
assert_eq!(body, "Invalid URL: array types are not supported");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue