github.com/goreleaser/goreleaser@v1.25.1/internal/static/config_test.go (about)

     1  package static
     2  
     3  import (
     4  	"bytes"
     5  	"testing"
     6  
     7  	"github.com/goreleaser/goreleaser/pkg/config"
     8  	"github.com/stretchr/testify/require"
     9  )
    10  
    11  func TestExampleConfig(t *testing.T) {
    12  	_, err := config.LoadReader(bytes.NewReader(ExampleConfig))
    13  	require.NoError(t, err)
    14  	require.NotEmpty(t, ExampleConfig)
    15  }