Loading crates/tor-socksproto/src/handshake.rs +1 −1 Original line number Diff line number Diff line Loading @@ -445,7 +445,7 @@ mod test { fn socks5_init_nothing_works() { let mut h = SocksHandshake::new(); let a = h.handshake(&hex!("05 02 9988")[..]); assert!(matches!(a, Ok(Err(Error::NoSupport)))); assert!(matches!(a, Ok(Err(Error::NotImplemented)))); } #[test] Loading crates/tor-socksproto/src/msg.rs +1 −1 Original line number Diff line number Diff line Loading @@ -298,7 +298,7 @@ mod test { 1024, SocksAuth::NoAuth, ); assert!(matches!(e, Err(Error::NoSupport))); assert!(matches!(e, Err(Error::NotImplemented))); let e = SocksRequest::new( SocksVersion::V4, Loading Loading
crates/tor-socksproto/src/handshake.rs +1 −1 Original line number Diff line number Diff line Loading @@ -445,7 +445,7 @@ mod test { fn socks5_init_nothing_works() { let mut h = SocksHandshake::new(); let a = h.handshake(&hex!("05 02 9988")[..]); assert!(matches!(a, Ok(Err(Error::NoSupport)))); assert!(matches!(a, Ok(Err(Error::NotImplemented)))); } #[test] Loading
crates/tor-socksproto/src/msg.rs +1 −1 Original line number Diff line number Diff line Loading @@ -298,7 +298,7 @@ mod test { 1024, SocksAuth::NoAuth, ); assert!(matches!(e, Err(Error::NoSupport))); assert!(matches!(e, Err(Error::NotImplemented))); let e = SocksRequest::new( SocksVersion::V4, Loading