Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

test: root standard_main_only fixture under the consolidated temp root (#3666)

Worktrunk Bot299d3d45b212
diff --git a/src/testing/mod.rs b/src/testing/mod.rs
index a991ff482..405024201 100644
--- a/src/testing/mod.rs
+++ b/src/testing/mod.rs
@@ -1290,7 +1290,7 @@ impl TestRepo {
/// callers that exercise forge commands should install strict mocks for
/// the route they expect.
pub fn standard_main_only() -> Self {
- let temp_dir = TempDir::new().unwrap();
+ let temp_dir = test_tempdir();
let remote = copy_standard_main_only_fixture(temp_dir.path());
let paths = TestConfigPaths::in_dir(temp_dir.path());