(root: &Path, args: &[&str])
| 7 | use tempfile::TempDir; |
| 8 | |
| 9 | fn atomic(root: &Path, args: &[&str]) -> Output { |
| 10 | Command::new(env!("CARGO_BIN_EXE_atomic")) |
| 11 | .args(args) |
| 12 | .current_dir(root) |
| 13 | .env("ATOMIC_SERVICE", "local") |
| 14 | .env_remove("ATOMIC_RPC") |
| 15 | .output() |
| 16 | .unwrap() |
| 17 | } |
| 18 | |
| 19 | fn run(root: &Path, args: &[&str]) -> String { |
| 20 | let out = atomic(root, args); |
no test coverage detected