Skip to content

Commit

Permalink
fix go vet warning
Browse files Browse the repository at this point in the history
command_test.go:342:3 value declared but not used

Signed-off-by: Valentin Rothberg <vrothberg@suse.com>
  • Loading branch information
vrothberg committed Aug 21, 2018
1 parent c23dfba commit 3e5a935
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions command_test.go
Expand Up @@ -339,7 +339,6 @@ func TestCommandSkipFlagParsing(t *testing.T) {
}

for _, c := range cases {
value := ""
args := []string{}
app := &App{
Commands: []Command{
Expand All @@ -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()
},
},
Expand Down

0 comments on commit 3e5a935

Please sign in to comment.