2022-06-18 21:56:31 -07:00
|
|
|
use super::*;
|
2021-07-03 14:26:59 -07:00
|
|
|
|
|
|
|
pub(crate) fn assert_success(output: &Output) {
|
|
|
|
if !output.status.success() {
|
|
|
|
eprintln!("stderr: {}", String::from_utf8_lossy(&output.stderr));
|
|
|
|
eprintln!("stdout: {}", String::from_utf8_lossy(&output.stdout));
|
|
|
|
panic!("{}", output.status);
|
|
|
|
}
|
|
|
|
}
|