(output: &Output)
| 248 | } |
| 249 | |
| 250 | fn text(output: &Output) -> String { |
| 251 | format!( |
| 252 | "{}{}", |
| 253 | String::from_utf8_lossy(&output.stdout), |
| 254 | String::from_utf8_lossy(&output.stderr) |
| 255 | ) |
| 256 | } |
| 257 | |
| 258 | fn ok(output: Output, what: &str) -> String { |
| 259 | assert!(output.status.success(), "{what} failed:\n{}", text(&output)); |
no outgoing calls
no test coverage detected