echo msg not echo msg msg (#364)

This commit is contained in:
Yuanxiao 2016-11-16 21:20:53 +08:00 committed by Eric Paris
parent 6b74a60562
commit 9495bc009a

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