We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81e75a4 commit 003b96eCopy full SHA for 003b96e
1 file changed
tests/tests.rs
@@ -57,7 +57,11 @@ fn client() {
57
.output()
58
.expect("cannot run client example");
59
60
- assert!(rc.status.success());
+ if !rc.status.success() {
61
+ assert_eq!(String::from_utf8_lossy(&rc.stdout), "");
62
+ assert_eq!(String::from_utf8_lossy(&rc.stderr), "");
63
+ panic!("test failed");
64
+ }
65
}
66
67
#[test]
@@ -104,6 +108,7 @@ fn custom_ca_store() {
104
108
105
109
if !rc.status.success() {
106
110
assert_eq!(String::from_utf8_lossy(&rc.stdout), "");
111
107
112
panic!("test failed");
113
114
0 commit comments