From f19567f8ff828a8c69e98b4858c18f6ee3c04bbc Mon Sep 17 00:00:00 2001 From: Erik Winter Date: Fri, 1 Nov 2024 07:31:50 +0100 Subject: [PATCH] wip --- plan/command/command_test.go | 11 +++++++++++ 1 file changed, 11 insertions(+) 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) {