1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

test: fixed broken template test

This commit is contained in:
Carlos Alexandro Becker 2017-12-26 22:20:48 -02:00
parent 2af7169484
commit 915e404629
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -19,10 +19,13 @@ func TestTemplate(t *testing.T) {
ctx.Version = "1.0.0"
ctx.Git.CurrentTag = "v1.0.0"
var fields = NewFields(ctx, artifact.Artifact{
Name: "binary",
Name: "not-this-binary",
Goarch: "amd64",
Goos: "linux",
Goarm: "6",
Extra: map[string]string{
"Binary": "binary",
},
}, map[string]string{
"linux": "Linux",
})