mirror of
https://github.com/goreleaser/goreleaser.git
synced 2024-12-31 01:53:50 +02:00
improved test
This commit is contained in:
parent
9a7277c4ae
commit
c3c0a8ac68
@ -15,7 +15,9 @@ func TestCurrentTag(t *testing.T) {
|
||||
|
||||
func TestPreviousTag(t *testing.T) {
|
||||
assert := assert.New(t)
|
||||
tag, err := previousTag("v0.2.0")
|
||||
tag, err := currentTag()
|
||||
assert.NoError(err)
|
||||
tag, err = previousTag(tag)
|
||||
assert.NoError(err)
|
||||
assert.NotEmpty(tag)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user