(t *testing.T)
| 161 | } |
| 162 | |
| 163 | func TestNewAliasSetCommand_TargetFlag(t *testing.T) { |
| 164 | cmd := NewAliasSetCommand() |
| 165 | |
| 166 | targetFlag := cmd.Flags().Lookup("target") |
| 167 | assert.NotNil(t, targetFlag, "target flag should exist") |
| 168 | assert.Equal(t, "t", targetFlag.Shorthand) |
| 169 | assert.Equal(t, "", targetFlag.DefValue) |
| 170 | } |
| 171 | |
| 172 | func TestNewAliasSetCommand_TargetFlagRequired(t *testing.T) { |
| 173 | cmd := NewAliasSetCommand() |
nothing calls this directly
no test coverage detected