mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-04 03:11:55 +02:00
e54656438b
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>
16 lines
298 B
Go
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)
|
|
}
|