(t *testing.T)
| 49 | } |
| 50 | |
| 51 | func TestSecretsCommandStructure(t *testing.T) { |
| 52 | tests := []struct { |
| 53 | name string |
| 54 | expectedUse string |
| 55 | commandCreator func() any |
| 56 | }{ |
| 57 | { |
| 58 | name: "secrets command exists", |
| 59 | expectedUse: "secrets", |
| 60 | commandCreator: func() any { |
| 61 | return NewSecretsCommand() |
| 62 | }, |
| 63 | }, |
| 64 | } |
| 65 | |
| 66 | for _, tt := range tests { |
| 67 | t.Run(tt.name, func(t *testing.T) { |
| 68 | cmd := tt.commandCreator() |
| 69 | require.NotNil(t, cmd, "Command should not be nil") |
| 70 | }) |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | func TestSecretsBootstrapEngineFlagIncludesGemini(t *testing.T) { |
| 75 | cmd := NewSecretsCommand() |
nothing calls this directly
no test coverage detected