(output: Output)
| 22 | command |
| 23 | } |
| 24 | fn success(output: Output) -> String { |
| 25 | assert!( |
| 26 | output.status.success(), |
| 27 | "{}", |
| 28 | String::from_utf8_lossy(&output.stderr) |
| 29 | ); |
| 30 | String::from_utf8(output.stdout).unwrap() |
| 31 | } |
| 32 | fn fixture(root: &Path) -> String { |
| 33 | let repo = Repository::init(root).unwrap(); |
| 34 | repo.init_vault().unwrap(); |
no test coverage detected