(output: &Output, context: &str)
| 30 | } |
| 31 | |
| 32 | fn assert_success(output: &Output, context: &str) { |
| 33 | assert!( |
| 34 | output.status.success(), |
| 35 | "{context} failed:\nstdout:\n{}\nstderr:\n{}", |
| 36 | String::from_utf8_lossy(&output.stdout), |
| 37 | String::from_utf8_lossy(&output.stderr) |
| 38 | ); |
| 39 | } |
| 40 | |
| 41 | fn output_text(output: &Output) -> String { |
| 42 | format!( |
no outgoing calls
no test coverage detected