diff options
| author | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-07-18 19:16:10 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <git@r.bdr.sh> | 2025-07-18 19:16:10 +0200 |
| commit | 37b3d872591c4416ee048fcd7fe1e5d1bc35550e (patch) | |
| tree | 1887e30a98c2213eabbe9b373622f928324753c6 /test_utilities/src | |
| parent | 67f1b25c66c44fd1be09e120dcdd08f5e2d5be69 (diff) | |
Ensure test repo uses a main branch
Diffstat (limited to 'test_utilities/src')
| -rw-r--r-- | test_utilities/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test_utilities/src/lib.rs b/test_utilities/src/lib.rs index bcbf1f0..af32b38 100644 --- a/test_utilities/src/lib.rs +++ b/test_utilities/src/lib.rs @@ -47,7 +47,7 @@ pub fn assert_file_does_not_contain(path: &PathBuf, expected: &str) { pub fn create_remote(path: &Path) { Command::new("git") .current_dir(&path) - .args(["init", "--bare"]) + .args(["init", "--bare", "-b", "main"]) .stdout(Stdio::null()) .stderr(Stdio::null()) .status() |