We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08bd3f7 commit 5c6f2b4Copy full SHA for 5c6f2b4
openpgp/v2/write_test.go
@@ -1041,7 +1041,10 @@ func TestEncryptWithAEAD(t *testing.T) {
1041
if err != nil {
1042
t.Fatal(err)
1043
}
1044
- dec, err := ioutil.ReadAll(m.decrypted)
+ dec, err := io.ReadAll(m.decrypted)
1045
+ if err != nil {
1046
+ t.Fatal(err)
1047
+ }
1048
1049
if !bytes.Equal(dec, []byte(message)) {
1050
t.Error("decrypted does not match original")
openpgp/write_test.go
@@ -305,7 +305,10 @@ func TestEncryptWithAEAD(t *testing.T) {
305
306
307
308
309
310
311
312
313
314
0 commit comments