mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-24 04:16:27 +02:00
16 lines
333 B
Go
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.")
|
|
}
|