1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-10 03:47:03 +02:00
goreleaser/config/config_test.go
Carlos Alexandro Becker 7bd9ed244d
test fix
2016-12-29 12:38:24 -02:00

19 lines
487 B
Go

package config
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestFixConfig(t *testing.T) {
assert := assert.New(t)
config := fix(ProjectConfig{})
assert.Equal("main.go", config.Build.Main)
assert.Contains(config.Files, "README.md")
assert.Contains(config.Files, "LICENSE.md")
assert.Contains(config.Build.Oses, "darwin")
assert.Contains(config.Build.Oses, "linux")
assert.Contains(config.Build.Arches, "386")
assert.Contains(config.Build.Arches, "amd64")
}