(root: &Path, args: &[&str], context: &str)
| 85 | } |
| 86 | |
| 87 | fn assert_git(root: &Path, args: &[&str], context: &str) { |
| 88 | let out = git(root, args); |
| 89 | assert!( |
| 90 | out.status.success(), |
| 91 | "{context} failed: {}", |
| 92 | output_text(&out) |
| 93 | ); |
| 94 | } |
| 95 | |
| 96 | fn git_text(root: &Path, args: &[&str]) -> String { |
| 97 | let out = git(root, args); |
no test coverage detected