1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-09-02 01:31:57 +02:00
This commit is contained in:
Rob Ede
2021-01-04 01:01:35 +00:00
parent 21f6c9d7a5
commit 2d4a174420
20 changed files with 40 additions and 40 deletions

View File

@@ -539,7 +539,7 @@ mod tests {
.into_parts();
let res = HttpMessageBody::new(&req, &mut pl).await;
match res.err().unwrap() {
PayloadError::UnknownLength => {},
PayloadError::UnknownLength => {}
_ => unreachable!("error"),
}
@@ -548,7 +548,7 @@ mod tests {
.into_parts();
let res = HttpMessageBody::new(&req, &mut pl).await;
match res.err().unwrap() {
PayloadError::Overflow => {},
PayloadError::Overflow => {}
_ => unreachable!("error"),
}
@@ -563,7 +563,7 @@ mod tests {
.to_http_parts();
let res = HttpMessageBody::new(&req, &mut pl).limit(5).await;
match res.err().unwrap() {
PayloadError::Overflow => {},
PayloadError::Overflow => {}
_ => unreachable!("error"),
}
}