diff --git a/plan/command/command_test.go b/plan/command/command_test.go index b3d248c..958b197 100644 --- a/plan/command/command_test.go +++ b/plan/command/command_test.go @@ -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) {