This commit is contained in:
fakeshadow 2021-03-25 21:54:00 +08:00
parent 79f8480432
commit a92601964f
1 changed files with 2 additions and 0 deletions

View File

@ -430,6 +430,8 @@ mod test {
drop(conn); drop(conn);
actix_rt::task::yield_now().await;
match sender.ready().await { match sender.ready().await {
Ok(_) => panic!("connection should be gone and can not be ready"), Ok(_) => panic!("connection should be gone and can not be ready"),
Err(e) => assert!(e.is_io()), Err(e) => assert!(e.is_io()),