From 2a67d7a6c2c260ef46a63216850fd33ffcc55154 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Wed, 1 Nov 2017 09:46:05 +0100 Subject: [PATCH] crypto: Correct test function names --- internal/crypto/crypto_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)