mirror of
https://github.com/octoleo/restic.git
synced 2024-11-22 12:55:18 +00:00
crypto: Correct test function names
This commit is contained in:
parent
ba43c8bab5
commit
2a67d7a6c2
@ -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()
|
k := crypto.NewRandomKey()
|
||||||
nonce := crypto.NewRandomNonce()
|
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()
|
k := crypto.NewRandomKey()
|
||||||
|
|
||||||
data := make([]byte, 600)
|
data := make([]byte, 600)
|
||||||
|
Loading…
Reference in New Issue
Block a user