1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-04 03:11:55 +02:00
goreleaser/internal/static/config_test.go
Carlos Alexandro Becker e54656438b
feat: deprecate replacements (#3589)
The replacements thing was always a bit weird, especially on archives.

We can solve that with templates, so, removing I'm deprecating it.

Also did the same on other places that had it the same feature.

Closes #3588

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-11-25 15:26:14 -03:00

16 lines
298 B
Go

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)
}