use testing log

This commit is contained in:
Wade Simmons
2026-06-09 12:26:04 -04:00
parent 32db819315
commit 9709893009
+1 -2
View File
@@ -4,7 +4,6 @@ import (
"crypto/cipher"
"crypto/fips140"
"encoding/hex"
"log"
"testing"
"github.com/stretchr/testify/assert"
@@ -29,7 +28,7 @@ func TestNewAESGCM(t *testing.T) {
aead := c.(cipher.AEAD)
dst := aead.Seal([]byte{}, iv, plaintext, aad)
log.Printf("%x", dst)
t.Logf("%x", dst)
assert.Equal(t, expected, dst)
// We expect this to fail since we are re-encrypting with a repeat IV