mirror of
https://github.com/Dasemu/Grove.git
synced 2026-11-27 07:46:13 +00:00
test(core): remove temp dirs after tests via shared RAII helper
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
09fbf79e87
commit
00226b4178
9 files changed
+115
-48
No files matched your search
@@ -9,7 +9,7 @@ use std::fs;
|
||||
use std::path::PathBuf;
|
||||
|
||||
/// Two machines on the bare layout, both committed on main: diverged on B.
|
||||
fn diverged() -> (PathBuf, PathBuf, PathBuf) {
|
||||
fn diverged() -> (common::tmp::TempDir, PathBuf, PathBuf) {
|
||||
let base = tmpdir("resolve");
|
||||
let remote = base.join("r.git");
|
||||
Git::new(&base)
|
||||
|
||||
Reference in new issue
Block a user