(dir: &Path, args: &[&str])
| 23 | } |
| 24 | |
| 25 | fn git(dir: &Path, args: &[&str]) -> String { |
| 26 | stdout( |
| 27 | Command::new("git") |
| 28 | .arg("-C") |
| 29 | .arg(dir) |
| 30 | .args([ |
| 31 | "-c", |
| 32 | "user.name=Atomic Build Test", |
| 33 | "-c", |
| 34 | "user.email=build-test@example.invalid", |
| 35 | "-c", |
| 36 | "commit.gpgsign=false", |
| 37 | ]) |
| 38 | .args(args) |
| 39 | .output() |
| 40 | .unwrap(), |
| 41 | ) |
| 42 | } |
| 43 | |
| 44 | impl Fixture { |
| 45 | fn new(repository: bool) -> Self { |
no test coverage detected