Combined stdout+stderr, for assertions that target either stream.
(output: &Output)
| 41 | |
| 42 | /// Combined stdout+stderr, for assertions that target either stream. |
| 43 | fn output_text(output: &Output) -> String { |
| 44 | format!( |
| 45 | "{}{}", |
| 46 | String::from_utf8_lossy(&output.stdout), |
| 47 | String::from_utf8_lossy(&output.stderr) |
| 48 | ) |
| 49 | } |
| 50 | |
| 51 | fn cli(root: &Path, args: &[&str]) -> String { |
| 52 | let output = run(root, args); |
no outgoing calls
no test coverage detected