aboutsummaryrefslogtreecommitdiff
path: root/openpgp/packet/compressed_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/packet/compressed_test.go')
-rw-r--r--openpgp/packet/compressed_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/openpgp/packet/compressed_test.go b/openpgp/packet/compressed_test.go
index cb2d70b..37fcc0b 100644
--- a/openpgp/packet/compressed_test.go
+++ b/openpgp/packet/compressed_test.go
@@ -8,7 +8,6 @@ import (
"bytes"
"encoding/hex"
"io"
- "io/ioutil"
"testing"
)
@@ -25,7 +24,7 @@ func TestCompressed(t *testing.T) {
return
}
- contents, err := ioutil.ReadAll(c.Body)
+ contents, err := io.ReadAll(c.Body)
if err != nil && err != io.EOF {
t.Error(err)
return