diff --git a/cmd/finch/main_test.go b/cmd/finch/main_test.go index 0dc61db00..0b03c5e9e 100644 --- a/cmd/finch/main_test.go +++ b/cmd/finch/main_test.go @@ -138,7 +138,7 @@ func TestNewApp(t *testing.T) { assert.Equal(t, cmd.Version, version.Version) assert.Equal(t, cmd.SilenceUsage, true) assert.Equal(t, cmd.SilenceErrors, true) - // confirm the number of command, comprised of nerdctl commands + finch commands (version, vm, support-bundle) + // confirm the number of command, comprised of nerdctl commands + finch commands assert.Equal(t, len(cmd.Commands()), len(nerdctlCmds)+4) // PersistentPreRunE should set logger level to debug if the debug flag exists.