(dir: &Path, args: &[&str])
| 9 | const ATOMIC_BIN: &str = env!("CARGO_BIN_EXE_atomic"); |
| 10 | |
| 11 | fn atomic(dir: &Path, args: &[&str]) -> Output { |
| 12 | Command::new(ATOMIC_BIN) |
| 13 | .args(args) |
| 14 | .current_dir(dir) |
| 15 | .output() |
| 16 | .expect("run atomic") |
| 17 | } |
| 18 | |
| 19 | fn initialized_repo() -> TempDir { |
| 20 | let dir = TempDir::new().expect("tempdir"); |
no test coverage detected