File: extend-error-reporting-in-timeout-test.patch

package info (click to toggle)
rust-reqwest 0.12.15-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 2,052 kB
  • sloc: makefile: 2
file content (13 lines) | stat: -rw-r--r-- 447 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: reqwest/tests/timeouts.rs
===================================================================
--- reqwest.orig/tests/timeouts.rs
+++ reqwest/tests/timeouts.rs
@@ -86,7 +86,7 @@ async fn connect_timeout() {
 
     let err = res.unwrap_err();
 
-    assert!(err.is_connect() && err.is_timeout());
+    assert!(err.is_connect() && err.is_timeout(),"assertion failed err.is_connect() && err.is_timeout(), err={:?}",err);
 }
 
 /*#[tokio::test]