Skip to content

Commit 265bc0e

Browse files
fix test error string
1 parent 9ee9418 commit 265bc0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ssh/keys_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ func TestParseEncryptedPrivateKeysWithUnsupportedCiphers(t *testing.T) {
277277
_, err := ParsePrivateKeyWithPassphrase(tt.PEMBytes, []byte(tt.EncryptionKey))
278278
var e *UnsupportedCipherError
279279
if !errors.As(err, &e) {
280-
t.Errorf("got error %v, want PassphraseMissingError", err)
280+
t.Errorf("got error %v, want UnsupportedCipherError", err)
281281
}
282282

283283
if e.BadCipher != tt.Cipher {

0 commit comments

Comments
 (0)