From 3e5a935ed3cafadcddc6f5ab2fe7ddd2aa0c3cea Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Tue, 21 Aug 2018 08:33:42 +0200 Subject: [PATCH] fix `go vet` warning command_test.go:342:3 value declared but not used Signed-off-by: Valentin Rothberg --- command_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/command_test.go b/command_test.go index 9388f6a..8c2650e 100644 --- a/command_test.go +++ b/command_test.go @@ -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() }, },