crypto: Correct test function names

This commit is contained in:
Alexander Neumann 2017-11-01 09:46:05 +01:00
parent ba43c8bab5
commit 2a67d7a6c2
1 changed files with 2 additions and 2 deletions

View File

@ -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)