1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-06 03:13:48 +02:00
goreleaser/internal/static/config_test.go

16 lines
298 B
Go
Raw Normal View History

package static
import (
"bytes"
"testing"
"github.com/goreleaser/goreleaser/pkg/config"
"github.com/stretchr/testify/require"
)
func TestExampleConfig(t *testing.T) {
_, err := config.LoadReader(bytes.NewReader(ExampleConfig))
require.NoError(t, err)
require.NotEmpty(t, ExampleConfig)
}