--- Passwords command ---
(t *testing.T)
| 144 | // --- Passwords command --- |
| 145 | |
| 146 | func TestNewPasswordsCommand_Structure(t *testing.T) { |
| 147 | cmd := NewPasswordsCommand() |
| 148 | |
| 149 | assert.NotNil(t, cmd) |
| 150 | assert.Equal(t, "passwords", cmd.Use) |
| 151 | assert.Equal(t, "Create an alternative password", cmd.Short) |
| 152 | assert.Equal(t, "Create an alternative password (interactive prompt)", cmd.Long) |
| 153 | assert.Equal(t, []string{"password", "pass", "pwd"}, cmd.Aliases) |
| 154 | assert.NotNil(t, cmd.Run) |
| 155 | } |
| 156 | |
| 157 | func TestNewPasswordsCommand_ArgsValidation(t *testing.T) { |
| 158 | cmd := NewPasswordsCommand() |
nothing calls this directly
no test coverage detected