--- Set command ---
(t *testing.T)
| 151 | // --- Set command --- |
| 152 | |
| 153 | func TestNewAliasSetCommand_Structure(t *testing.T) { |
| 154 | cmd := NewAliasSetCommand() |
| 155 | |
| 156 | assert.NotNil(t, cmd) |
| 157 | assert.Equal(t, "set <alias> [flags]", cmd.Use) |
| 158 | assert.Equal(t, "Set an alias for the specified server address", cmd.Short) |
| 159 | assert.Equal(t, "Set an alias for the specified server address", cmd.Long) |
| 160 | assert.NotNil(t, cmd.Run) |
| 161 | } |
| 162 | |
| 163 | func TestNewAliasSetCommand_TargetFlag(t *testing.T) { |
| 164 | cmd := NewAliasSetCommand() |
nothing calls this directly
no test coverage detected