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:
dasemuandClaude Sonnet 5.5 committed 2026-11-16 19:23:09 +01:00
1 parent 09fbf79e87
commit 00226b4178
9 files changed
+115 -48

No files matched your search

+1 -1
View File
@@ -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)