diff --git a/internal/crypto/crypto_test.go b/internal/crypto/crypto_test.go index 94f22588b..47debe896 100644 --- a/internal/crypto/crypto_test.go +++ b/internal/crypto/crypto_test.go @@ -125,7 +125,7 @@ func decryptAndCompare(t testing.TB, k *crypto.Key, data, ciphertext, nonce, dst } } -func TestAppendSeal(t *testing.T) { +func TestAppendOpen(t *testing.T) { k := crypto.NewRandomKey() nonce := crypto.NewRandomNonce() @@ -174,7 +174,7 @@ func TestAppendSeal(t *testing.T) { }) } -func TestAppendOpen(t *testing.T) { +func TestAppendSeal(t *testing.T) { k := crypto.NewRandomKey() data := make([]byte, 600)