mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-24 04:16:27 +02:00
f0f7f43486
Co-authored-by: Leon Wright <wrightleo@jncb.com>
19 lines
365 B
Go
19 lines
365 B
Go
package announce
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/goreleaser/goreleaser/pkg/config"
|
|
"github.com/goreleaser/goreleaser/pkg/context"
|
|
"github.com/stretchr/testify/require"
|
|
)
|
|
|
|
func TestDescription(t *testing.T) {
|
|
require.NotEmpty(t, Pipe{}.String())
|
|
}
|
|
|
|
func TestAnnounce(t *testing.T) {
|
|
ctx := context.New(config.Project{})
|
|
require.NoError(t, Pipe{}.Run(ctx))
|
|
}
|