diff --git a/cobra_test.go b/cobra_test.go index 96fffb4..b412ee2 100644 --- a/cobra_test.go +++ b/cobra_test.go @@ -81,6 +81,8 @@ func commandInit() { cmdEcho.ResetCommands() cmdPrint.ResetCommands() cmdTimes.ResetCommands() + cmdRootNoRun.ResetCommands() + cmdRootWithRun.ResetCommands() } func initialize() *Command {