mirror of https://github.com/spf13/cobra.git
echo msg not echo msg msg (#364)
This commit is contained in:
parent
6b74a60562
commit
9495bc009a
|
@ -612,7 +612,7 @@ func TestSubcommandExecuteC(t *testing.T) {
|
||||||
Use: "echo message",
|
Use: "echo message",
|
||||||
Run: func(c *Command, args []string) {
|
Run: func(c *Command, args []string) {
|
||||||
msg := strings.Join(args, " ")
|
msg := strings.Join(args, " ")
|
||||||
c.Println(msg, msg)
|
c.Println(msg)
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue