mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-28 01:52:57 +01:00
update test
This commit is contained in:
parent
6657446433
commit
29c3e8f7ea
@ -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());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user