We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12d80ee commit a0d3abbCopy full SHA for a0d3abb
openpgp/v2/write_test.go
@@ -1036,7 +1036,10 @@ func TestEncryptWithAEAD(t *testing.T) {
1036
if err != nil {
1037
t.Fatal(err)
1038
}
1039
- dec, err := ioutil.ReadAll(m.decrypted)
+ dec, err := io.ReadAll(m.decrypted)
1040
+ if err != nil {
1041
+ t.Fatal(err)
1042
+ }
1043
1044
if !bytes.Equal(dec, []byte(message)) {
1045
t.Error("decrypted does not match original")
openpgp/write_test.go
@@ -301,7 +301,10 @@ func TestEncryptWithAEAD(t *testing.T) {
301
302
303
304
305
306
307
308
309
310
0 commit comments