(root: &Path, args: &[&str])
| 49 | } |
| 50 | |
| 51 | fn cli(root: &Path, args: &[&str]) -> String { |
| 52 | let output = run(root, args); |
| 53 | assert!( |
| 54 | output.status.success(), |
| 55 | "{args:?}: {}", |
| 56 | output_text(&output) |
| 57 | ); |
| 58 | String::from_utf8(output.stdout).unwrap() |
| 59 | } |
| 60 | |
| 61 | fn init() -> tempfile::TempDir { |
| 62 | let root = tempfile::tempdir().unwrap(); |
no test coverage detected