Skip to content

Commit da50c82

Browse files
tests: even more verbose informations
1 parent eb5a768 commit da50c82

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

tests/src/lib.rs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,16 @@ mod integration {
148148
if output.status.success() {
149149
true
150150
} else {
151-
panic!("{}", String::from_utf8(output.stdout).unwrap());
151+
panic!(
152+
"
153+
status: {}
154+
stdout: {}
155+
stderr: {}
156+
",
157+
output.status,
158+
String::from_utf8(output.stdout).unwrap(),
159+
String::from_utf8(output.stderr).unwrap()
160+
);
152161
}
153162
}
154163

0 commit comments

Comments
 (0)