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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user