Format code.

This commit is contained in:
Zeke Fast
2025-09-08 01:56:15 +02:00
committed by Vincent Breitmoser
parent 29ac3534c1
commit 8795469b52

View File

@@ -907,8 +907,11 @@ pub mod tests {
base_uri: &str,
) -> String {
let response = client.put("/").body(data).dispatch();
assert_eq!(response.status(), Status::Ok);
let response_body = response.into_string().unwrap();
assert!(response_body.contains("Key successfully uploaded"));
let pattern = format!("{}/upload/([^ \t\n]*)", base_uri);
@@ -919,6 +922,7 @@ pub mod tests {
.get(1)
.unwrap()
.as_bytes();
String::from_utf8_lossy(capture_content).to_string()
}