whoops, fix tests for socks4://and socks4a://

This commit is contained in:
Keijia authored and Martin Algesten committed 2021-08-23 20:46:44 +02:00
1 parent 401d051bd1
commit 35c472507b
1 file changed
+2 -2
+2 -2
View File
@@ -204,7 +204,7 @@ mod tests {
assert_eq!(proxy.password, Some(String::from("p@ssw0rd")));
assert_eq!(proxy.server, String::from("localhost"));
assert_eq!(proxy.port, 9999);
assert_eq!(proxy.proto, Proto::SOCKS5);
assert_eq!(proxy.proto, Proto::SOCKS4);
}
#[cfg(feature = "socks-proxy")]
@@ -215,7 +215,7 @@ mod tests {
assert_eq!(proxy.password, Some(String::from("p@ssw0rd")));
assert_eq!(proxy.server, String::from("localhost"));
assert_eq!(proxy.port, 9999);
assert_eq!(proxy.proto, Proto::SOCKS5);
assert_eq!(proxy.proto, Proto::SOCKS4A);
}
#[cfg(feature = "socks-proxy")]