(root: &Path, args: &[&str])
| 7 | const ATOMIC_BIN: &str = env!("CARGO_BIN_EXE_atomic"); |
| 8 | |
| 9 | fn atomic(root: &Path, args: &[&str]) -> Output { |
| 10 | Command::new(ATOMIC_BIN) |
| 11 | .args(args) |
| 12 | .current_dir(root) |
| 13 | .output() |
| 14 | .expect("run atomic binary") |
| 15 | } |
| 16 | |
| 17 | fn assert_success(output: &Output, command: &str) { |
| 18 | assert!( |
no test coverage detected