planner/plan/command/command_test.go

37 lines
444 B
Go
Raw Normal View History

2024-10-29 07:22:04 +01:00
package command_test
2024-11-01 07:31:21 +01:00
import (
"testing"
"go-mod.ewintr.nl/planner/plan/command"
)
func TestCommand(t *testing.T) {
t.Parallel()
2024-11-01 07:31:50 +01:00
cmds := []*command.Command{
{
Name: "default",
Default: true,
},
}
cli := command.CLI{
CMDS: cmds,
}
2024-11-01 07:31:21 +01:00
for _, tc := range []struct {
name string
args string
exp *command.Command
}{
{
name: "default",
2024-11-01 07:31:50 +01:00
exp: cmds[0],
2024-11-01 07:31:21 +01:00
},
} {
t.Run(tc.name, func(t *testing.T) {
})
}
}