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