echo msg not echo msg msg ()

This commit is contained in:
Yuanxiao 2016-11-16 21:20:53 +08:00 committed by Eric Paris
parent 6b74a60562
commit 9495bc009a
1 changed files with 1 additions and 1 deletions

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