fix ineffective assigns

This commit is contained in:
Sebastian Sprenger 2017-10-06 07:28:43 +02:00
parent 67ee172e6d
commit c3cc74dac7

View File

@ -497,7 +497,6 @@ func TestApp_Float64Flag(t *testing.T) {
}
func TestApp_ParseSliceFlags(t *testing.T) {
var parsedOption, firstArg string
var parsedIntSlice []int
var parsedStringSlice []string
@ -511,8 +510,6 @@ func TestApp_ParseSliceFlags(t *testing.T) {
Action: func(c *Context) error {
parsedIntSlice = c.IntSlice("p")
parsedStringSlice = c.StringSlice("ip")
parsedOption = c.String("option")
firstArg = c.Args().First()
return nil
},
}