test: stabilize git default branch in helpers

This commit is contained in:
lucaronin
2026-04-19 17:52:58 +02:00
parent 039f9e447f
commit c2bbdb0085

View File

@@ -168,7 +168,7 @@ mod tests {
let path = dir.path();
Command::new("git")
.args(["init"])
.args(["init", "--initial-branch=main"])
.current_dir(path)
.output()
.unwrap();