1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-24 04:16:27 +02:00
goreleaser/client/client_test.go
2017-04-14 16:07:34 -03:00

16 lines
333 B
Go

package client
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestDescription(t *testing.T) {
assert := assert.New(t)
desc := describeRelease("0abf342 some message")
assert.Contains(desc, "0abf342 some message")
assert.Contains(desc, "Automated with @goreleaser")
assert.Contains(desc, "go version go1.")
}