Skip to content

Commit

Permalink
corrected test case
Browse files Browse the repository at this point in the history
  • Loading branch information
Ed Maxwell-Lyte committed Aug 2, 2021
1 parent f83797d commit 7396f6a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions internal/pipe/git/git_test.go
Expand Up @@ -233,10 +233,7 @@ func TestTagFromCI(t *testing.T) {
envs map[string]string
expected string
}{
// It is not possible to concisely figure out the tag if a commit has more than one tags. Git always
// returns the tags in lexicographical order (ASC), which implies that we expect v0.0.1 here.
// More details: https://github.com/goreleaser/goreleaser/issues/1163
{expected: "v0.0.1"},
{expected: "v0.0.2"},
{
envs: map[string]string{"GORELEASER_CURRENT_TAG": "v0.0.2"},
expected: "v0.0.2",
Expand Down

0 comments on commit 7396f6a

Please sign in to comment.