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 91a0def commit 9c1877aCopy full SHA for 9c1877a
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