1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-10 03:47:03 +02:00
goreleaser/config/config_test.go
2017-04-27 11:03:26 +02:00

17 lines
267 B
Go

package config
import (
"testing"
yaml "gopkg.in/yaml.v1"
)
func TestDefaultConfig(t *testing.T) {
cfg := DefaultConfig()
config := Project{}
if err := yaml.Unmarshal([]byte(cfg), &config); err != nil {
t.Errorf("Not a valid config. %s", err.Error())
}
}