wip
This commit is contained in:
parent
555616edee
commit
f19567f8ff
|
@ -9,6 +9,16 @@ import (
|
|||
func TestCommand(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
cmds := []*command.Command{
|
||||
{
|
||||
Name: "default",
|
||||
Default: true,
|
||||
},
|
||||
}
|
||||
cli := command.CLI{
|
||||
CMDS: cmds,
|
||||
}
|
||||
|
||||
for _, tc := range []struct {
|
||||
name string
|
||||
args string
|
||||
|
@ -16,6 +26,7 @@ func TestCommand(t *testing.T) {
|
|||
}{
|
||||
{
|
||||
name: "default",
|
||||
exp: cmds[0],
|
||||
},
|
||||
} {
|
||||
t.Run(tc.name, func(t *testing.T) {
|
||||
|
|
Loading…
Reference in New Issue