mirror of
https://github.com/spf13/cobra
synced 2024-11-24 22:57:12 +00:00
echo msg not echo msg msg (#364)
This commit is contained in:
parent
6b74a60562
commit
9495bc009a
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue