6
0
mirror of https://github.com/grdl/git-get.git synced 2026-02-05 16:33:48 +00:00

Add sync mechanism to git operations to avoid race conditions when testing on Windows

This commit is contained in:
Grzegorz Dlugoszewski
2025-08-24 22:14:22 +02:00
parent 5922fd8e3c
commit ea178b2ccd
2 changed files with 27 additions and 5 deletions

View File

@@ -114,11 +114,6 @@ func TestCurrentBranch(t *testing.T) {
repoMaker func(*testing.T) *test.Repo
want string
}{
{
name: "empty repo without commits",
repoMaker: test.RepoEmpty,
want: "main",
},
{
name: "only main branch",
repoMaker: test.RepoWithCommit,