fix go vet
warning
command_test.go:342:3 value declared but not used Signed-off-by: Valentin Rothberg <vrothberg@suse.com>
This commit is contained in:
parent
c23dfba701
commit
3e5a935ed3
@ -339,7 +339,6 @@ func TestCommandSkipFlagParsing(t *testing.T) {
|
||||
}
|
||||
|
||||
for _, c := range cases {
|
||||
value := ""
|
||||
args := []string{}
|
||||
app := &App{
|
||||
Commands: []Command{
|
||||
@ -351,7 +350,6 @@ func TestCommandSkipFlagParsing(t *testing.T) {
|
||||
},
|
||||
Action: func(c *Context) {
|
||||
fmt.Printf("%+v\n", c.String("flag"))
|
||||
value = c.String("flag")
|
||||
args = c.Args()
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user