mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-03 13:11:48 +02:00
16 lines
334 B
Go
16 lines
334 B
Go
package clients
|
|
|
|
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.")
|
|
}
|