diff --git a/cobra_test.go b/cobra_test.go index 96fffb48..b412ee2b 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 {