internal/age: don't log binary data in tests

Fixes #32
This commit is contained in:
Filippo Valsorda 2019-12-30 01:43:42 +01:00
parent dd887fdc87
commit 3807646596

View file

@ -51,8 +51,6 @@ func TestEncryptDecryptX25519(t *testing.T) {
t.Fatal(err)
}
t.Logf("%s", buf.Bytes())
i, err := age.NewX25519Identity(secretKeyB)
if err != nil {
t.Fatal(err)
@ -90,8 +88,6 @@ func TestEncryptDecryptScrypt(t *testing.T) {
t.Fatal(err)
}
t.Logf("%s", buf.Bytes())
i, err := age.NewScryptIdentity(password)
if err != nil {
t.Fatal(err)