--- Caches command ---
(t *testing.T)
| 201 | // --- Caches command --- |
| 202 | |
| 203 | func TestNewCachesCommand_Structure(t *testing.T) { |
| 204 | cmd := NewCachesCommand() |
| 205 | |
| 206 | assert.NotNil(t, cmd) |
| 207 | assert.Equal(t, "caches <cache>", cmd.Use) |
| 208 | assert.Equal(t, "Create an alternative cache", cmd.Short) |
| 209 | assert.Equal(t, "Create an alternative cache", cmd.Long) |
| 210 | assert.Equal(t, []string{"cache"}, cmd.Aliases) |
| 211 | assert.NotNil(t, cmd.Run) |
| 212 | } |
| 213 | |
| 214 | func TestNewCachesCommand_Flags(t *testing.T) { |
| 215 | cmd := NewCachesCommand() |
nothing calls this directly
no test coverage detected