1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-28 01:52:57 +01:00

update test

This commit is contained in:
Nikolay Kim 2018-03-12 10:19:09 -07:00
parent 6657446433
commit 29c3e8f7ea

View File

@ -1396,6 +1396,7 @@ mod tests {
let mut reader = Reader::new();
let mut req = reader_parse_ready!(reader.parse(&mut buf, &mut readbuf, &settings));
let _ = req.payload_mut().set_read_buffer_capacity(0);
assert!(req.chunked().unwrap());
assert!(!req.payload().eof());