diff --git a/cobra_test.go b/cobra_test.go index 699a2f63..46887fd7 100644 --- a/cobra_test.go +++ b/cobra_test.go @@ -612,7 +612,7 @@ func TestSubcommandExecuteC(t *testing.T) { Use: "echo message", Run: func(c *Command, args []string) { msg := strings.Join(args, " ") - c.Println(msg, msg) + c.Println(msg) }, }