Add new key tests
This commit is contained in:
parent
c9730189a7
commit
56a73b1532
3 changed files with 42 additions and 4 deletions
|
|
@ -13,8 +13,8 @@ import (
|
|||
func TestAttachmentGetKey(t *testing.T) {
|
||||
testKeyPackets, err := ioutil.ReadFile("testdata/attachment_keypacket")
|
||||
if err != nil {
|
||||
t.Error("Expected no error while reading from file, got:", err)
|
||||
return
|
||||
t.Error("Expected no error while reading from file, got:", err)
|
||||
return
|
||||
}
|
||||
|
||||
testKeyPacketsDecoded, err := base64.StdEncoding.DecodeString(string(testKeyPackets))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue