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

fix tests

This commit is contained in:
Nikolay Kim 2018-10-02 19:05:58 -07:00
parent 2710f70e39
commit 1f68ce8541

View File

@ -733,7 +733,7 @@ mod tests {
let settings = wrk_settings();
let mut h1 =
Http1Dispatcher::new(settings.clone(), buf, None, readbuf, false, None);
Http1Dispatcher::new(settings.clone(), buf, readbuf, false, None);
assert!(h1.poll_io().is_ok());
assert!(h1.poll_io().is_ok());
assert!(h1.flags.contains(Flags::READ_DISCONNECTED));