(t *testing.T)
| 265 | } |
| 266 | |
| 267 | func TestDeriveKey_DifferentPasswords(t *testing.T) { |
| 268 | key1, err := deriveKey([]byte("password1")) |
| 269 | require.NoError(t, err) |
| 270 | |
| 271 | key2, err := deriveKey([]byte("password2")) |
| 272 | require.NoError(t, err) |
| 273 | |
| 274 | assert.NotEqual(t, key1, key2) |
| 275 | } |
| 276 | |
| 277 | func TestDeriveKey_MinLength(t *testing.T) { |
| 278 | // Exactly 4 characters should work |
nothing calls this directly
no test coverage detected