Add new key tests

This commit is contained in:
Aron Wussler 2019-05-09 20:12:28 +02:00
parent c9730189a7
commit 56a73b1532
3 changed files with 42 additions and 4 deletions

View file

@ -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))