WIP: Add tests for attachments (#116)

* Add tests for attachments

* Fix CI

* Use go 1.15 for mobile
This commit is contained in:
wussler 2021-03-08 17:59:03 +01:00 committed by GitHub
parent 72062c4925
commit 27efcb4627
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 120 additions and 8 deletions

View file

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