(t *testing.T)
| 91 | } |
| 92 | |
| 93 | func TestDeriveKey_Valid(t *testing.T) { |
| 94 | key, err := deriveKey([]byte("mypassword")) |
| 95 | assert.NoError(t, err) |
| 96 | assert.Equal(t, 32, len(key)) |
| 97 | } |
| 98 | |
| 99 | func TestMaskSecret(t *testing.T) { |
| 100 | assert.Equal(t, "<empty>", MaskSecret("")) |
nothing calls this directly
no test coverage detected