parent
089def45d1
commit
203ef1adcc
10 changed files with 55 additions and 76 deletions
|
|
@ -369,10 +369,9 @@ mod pipe_error_tests {
|
|||
|
||||
#[test]
|
||||
fn test_pipe_error_from_connection_error() {
|
||||
let pe: PipeError = CommunicationError::ConnectionError(
|
||||
wtransport::error::ConnectionError::TimedOut,
|
||||
)
|
||||
.into();
|
||||
let pe: PipeError =
|
||||
CommunicationError::ConnectionError(wtransport::error::ConnectionError::TimedOut)
|
||||
.into();
|
||||
assert_eq!(pe, PipeError::ConnectionClosed);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue