(root: &Path, home: &Path)
| 21 | } |
| 22 | |
| 23 | fn init_atomic(root: &Path, home: &Path) { |
| 24 | let output = atomic(root, home, &["init", "--view", "main"]); |
| 25 | assert!( |
| 26 | output.status.success(), |
| 27 | "atomic init failed:\nstdout:\n{}\nstderr:\n{}", |
| 28 | String::from_utf8_lossy(&output.stdout), |
| 29 | String::from_utf8_lossy(&output.stderr) |
| 30 | ); |
| 31 | } |
| 32 | |
| 33 | fn init_git_with_commit(root: &Path) -> Oid { |
| 34 | let repository = GitRepository::init(root).expect("init Git"); |
no test coverage detected