We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b55a22 commit f0bf690Copy full SHA for f0bf690
download/tests/read-proxy-env.rs
@@ -72,8 +72,12 @@ fn socks_proxy_request() {
72
73
if let Err(e) = res {
74
let s = e.source().unwrap();
75
+ assert!(
76
+ s.to_string().contains("socks connect error"),
77
+ "Expected socks connect error, got: {}",
78
+ s.to_string()
79
+ );
80
assert_eq!(CALL_COUNT.load(Ordering::SeqCst), 1);
- assert!(s.to_string().contains("socks connect error"));
81
} else {
82
panic!("Socks proxy was ignored")
83
}
0 commit comments