echo msg not echo msg msg

This commit is contained in:
yuanxiao 2016-11-16 11:22:26 +08:00
parent 6e91dded25
commit 9e6fb08bb1

View file

@ -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)
},
}