(t *testing.T)
| 10 | ) |
| 11 | |
| 12 | func TestNewVersionCommand_Structure(t *testing.T) { |
| 13 | cmd := NewVersionCommand() |
| 14 | |
| 15 | assert.NotNil(t, cmd) |
| 16 | assert.Equal(t, "version", cmd.Use) |
| 17 | assert.Equal(t, "Print the client version information for the current context", cmd.Short) |
| 18 | assert.Equal(t, "Print the client version information for the current context", cmd.Long) |
| 19 | assert.NotNil(t, cmd.Run) |
| 20 | } |
| 21 | |
| 22 | func TestNewVersionCommand_AllFieldsSet(t *testing.T) { |
| 23 | // Save and restore original values |
nothing calls this directly
no test coverage detected