1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-06 03:13:48 +02:00

chore: fix lint issues

This commit is contained in:
Carlos Alexandro Becker 2018-07-09 00:16:40 -07:00
parent 495126ffd9
commit 92632956d1
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -411,7 +411,7 @@ func TestProcessFlags(t *testing.T) {
"-testflag=flag",
}
flags, err := processFlags(ctx, source, "testflag", "-testflag=")
flags, err := processFlags(ctx, source, "-testflag=")
assert.NoError(t, err)
assert.Len(t, flags, 2)
assert.Equal(t, expected, flags)
@ -426,7 +426,7 @@ func TestProcessFlagsInvalid(t *testing.T) {
var expected = `template: tmpl:1: unexpected "}" in operand`
flags, err := processFlags(ctx, source, "testflag", "-testflag=")
flags, err := processFlags(ctx, source, "-testflag=")
assert.EqualError(t, err, expected)
assert.Nil(t, flags)
}