(t *testing.T)
| 142 | } |
| 143 | |
| 144 | func TestEncryptEmptyComment(t *testing.T) { |
| 145 | key := []byte(strings.Repeat("f", 32)) |
| 146 | s, err := NewCipher().Encrypt(sops.Comment{}, key, "") |
| 147 | assert.Nil(t, err) |
| 148 | assert.Equal(t, "", s) |
| 149 | } |
| 150 | |
| 151 | func TestDecryptEmptyValue(t *testing.T) { |
| 152 | key := []byte(strings.Repeat("f", 32)) |