From acf5dfab1b610a6d3d66ff7ab0c65bd04af8ef14 Mon Sep 17 00:00:00 2001 From: WintBit Date: Sun, 14 Apr 2024 02:13:53 +0800 Subject: [PATCH] fix: remove unstable in-repo tests --- git/git_test.go | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 git/git_test.go diff --git a/git/git_test.go b/git/git_test.go deleted file mode 100644 index 695f44d..0000000 --- a/git/git_test.go +++ /dev/null @@ -1,34 +0,0 @@ -package git_test - -import ( - "testing" - - "github.com/wintbiit/semantic-release-go/git" -) - -func TestGit(t *testing.T) { - repo, err := git.Open(".") - if err != nil { - t.Error(err) - } - - since, err := repo.CommitsSince("53243a30f327b2685df88564b08fcf8a3eac84d1") - if err != nil { - t.Error(err) - return - } - - for _, commit := range since { - t.Log(commit.String()) - } - - tags, err := repo.Tags() - if err != nil { - t.Error(err) - return - } - - for _, tag := range tags { - t.Log(tag.String()) - } -}