mirror of
https://github.com/actix/actix-web.git
synced 2025-04-26 03:14:43 +00:00
fix tests
This commit is contained in:
parent
2710f70e39
commit
1f68ce8541
1 changed files with 1 additions and 1 deletions
|
@ -733,7 +733,7 @@ mod tests {
|
||||||
let settings = wrk_settings();
|
let settings = wrk_settings();
|
||||||
|
|
||||||
let mut h1 =
|
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.poll_io().is_ok());
|
assert!(h1.poll_io().is_ok());
|
||||||
assert!(h1.flags.contains(Flags::READ_DISCONNECTED));
|
assert!(h1.flags.contains(Flags::READ_DISCONNECTED));
|
||||||
|
|
Loading…
Reference in a new issue