1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-11-20 16:41:05 +00: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());