mirror of https://github.com/ctz/rustls
error description() is deprecated; avoid it
This commit is contained in:
parent
6f252aa812
commit
cac66a8c18
|
@ -1273,7 +1273,6 @@ fn stream_write_reports_underlying_io_error_before_plaintext_processed() {
|
|||
assert!(rc.is_err());
|
||||
let err = rc.err().unwrap();
|
||||
assert_eq!(err.kind(), io::ErrorKind::WouldBlock);
|
||||
assert_eq!(err.description(), "oops");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Reference in New Issue