1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-10 03:47:03 +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)
}