Skip to content

Commit 9495bc0

Browse files
Yuanxiaoeparis
Yuanxiao
authored andcommitted
echo msg not echo msg msg (#364)
1 parent 6b74a60 commit 9495bc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cobra_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ func TestSubcommandExecuteC(t *testing.T) {
612612
Use: "echo message",
613613
Run: func(c *Command, args []string) {
614614
msg := strings.Join(args, " ")
615-
c.Println(msg, msg)
615+
c.Println(msg)
616616
},
617617
}
618618

0 commit comments

Comments
 (0)