Skip to content

Commit 4b6bbc3

Browse files
authored
Merge pull request #3450 from rbtcollins/ci-debuggability
Improve CI debugability
2 parents 5741fff + f0bf690 commit 4b6bbc3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

download/tests/read-proxy-env.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,12 @@ fn socks_proxy_request() {
7272

7373
if let Err(e) = res {
7474
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+
);
7580
assert_eq!(CALL_COUNT.load(Ordering::SeqCst), 1);
76-
assert!(s.to_string().contains("socks connect error"));
7781
} else {
7882
panic!("Socks proxy was ignored")
7983
}

0 commit comments

Comments
 (0)