(output: &Output, context: &str)
| 45 | } |
| 46 | |
| 47 | fn assert_success(output: &Output, context: &str) { |
| 48 | assert!( |
| 49 | output.status.success(), |
| 50 | "{context} failed:\nstdout:\n{}\nstderr:\n{}", |
| 51 | String::from_utf8_lossy(&output.stdout), |
| 52 | String::from_utf8_lossy(&output.stderr) |
| 53 | ); |
| 54 | } |
| 55 | |
| 56 | fn output_text(output: &Output) -> String { |
| 57 | format!( |
no outgoing calls
no test coverage detected