This commit is contained in:
Rob Ede 2021-06-05 07:06:07 +01:00
parent 3e049171eb
commit cf1fbb3f39
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
1 changed files with 4 additions and 1 deletions

View File

@ -657,7 +657,10 @@ async fn test_h1_response_http_error_handling() {
// read response // read response
let bytes = srv.load_body(response).await.unwrap(); let bytes = srv.load_body(response).await.unwrap();
assert_eq!(bytes, Bytes::from_static(b"error processing HTTP: failed to parse header value")); assert_eq!(
bytes,
Bytes::from_static(b"error processing HTTP: failed to parse header value")
);
} }
#[derive(Debug, Display, Error)] #[derive(Debug, Display, Error)]