mirror of
https://github.com/spf13/cobra.git
synced 2024-11-15 09:48:19 -07:00
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
Block a user