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:
parent
495126ffd9
commit
92632956d1
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user