From 9495bc009a56819bdb0ddbc1a373e29c140bc674 Mon Sep 17 00:00:00 2001 From: Yuanxiao Date: Wed, 16 Nov 2016 21:20:53 +0800 Subject: [PATCH] echo msg not echo msg msg (#364) --- cobra_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cobra_test.go b/cobra_test.go index 699a2f6..46887fd 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) }, }