WIP: Add tests for attachments (#116)
* Add tests for attachments * Fix CI * Use go 1.15 for mobile
This commit is contained in:
parent
72062c4925
commit
27efcb4627
12 changed files with 120 additions and 8 deletions
|
|
@ -335,7 +335,7 @@ func (msg *PGPMessage) SeparateKeyAndData(estimatedLength, garbageCollector int)
|
|||
for {
|
||||
var p packet.Packet
|
||||
if p, err = packets.Next(); goerrors.Is(err, io.EOF) {
|
||||
err = nil
|
||||
err = nil //nolint:wastedassign
|
||||
break
|
||||
}
|
||||
switch p := p.(type) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue