(t *testing.T, cmd *cobra.Command, args ...string)
| 39 | } |
| 40 | |
| 41 | func TestError(t *testing.T, cmd *cobra.Command, args ...string) error { |
| 42 | _, err := executeSkip(cmd, args...) |
| 43 | require.Error(t, err) |
| 44 | |
| 45 | return err |
| 46 | } |
| 47 | |
| 48 | func TestHelp(t *testing.T, cmd *cobra.Command, args ...string) { |
| 49 | root := cmd.Root() |
no test coverage detected