From f3a7fdf21117840c3442418c08375e2b5dfef073 Mon Sep 17 00:00:00 2001 From: Diogo Monica Date: Mon, 20 Jul 2015 11:42:10 -0700 Subject: [PATCH] Removing doubling of string in test Signed-off-by: Diogo Monica --- trustmanager/keyfilestore_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/trustmanager/keyfilestore_test.go b/trustmanager/keyfilestore_test.go index d6ab00a789..a04f026183 100644 --- a/trustmanager/keyfilestore_test.go +++ b/trustmanager/keyfilestore_test.go @@ -261,12 +261,11 @@ func TestGetDecryptedWithInvalidPassphrase(t *testing.T) { } func TestGetDecryptedWithConsistentlyInvalidPassphrase(t *testing.T) { - // Make a passphraseRetriever that always returns a different passphrase in order to test // decryption failure a := "aaaaaaaaaaaaa" var consistentlyInvalidPassphraseRetriever = func(keyID string, alias string, createNew bool, numAttempts int) (string, bool, error) { - a = a + a + a = a + "a" return a, false, nil }