(t *testing.T)
| 135 | } |
| 136 | |
| 137 | func TestLogsCommandStructure(t *testing.T) { |
| 138 | tests := []struct { |
| 139 | name string |
| 140 | commandCreator func() any |
| 141 | }{ |
| 142 | { |
| 143 | name: "logs command exists", |
| 144 | commandCreator: func() any { |
| 145 | return NewLogsCommand() |
| 146 | }, |
| 147 | }, |
| 148 | } |
| 149 | |
| 150 | for _, tt := range tests { |
| 151 | t.Run(tt.name, func(t *testing.T) { |
| 152 | cmd := tt.commandCreator() |
| 153 | require.NotNil(t, cmd, "Command should not be nil") |
| 154 | }) |
| 155 | } |
| 156 | } |
| 157 | |
| 158 | func TestLogsCommandArgs(t *testing.T) { |
| 159 | cmd := NewLogsCommand() |
nothing calls this directly
no test coverage detected