We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ee9418 commit 265bc0eCopy full SHA for 265bc0e
ssh/keys_test.go
@@ -277,7 +277,7 @@ func TestParseEncryptedPrivateKeysWithUnsupportedCiphers(t *testing.T) {
277
_, err := ParsePrivateKeyWithPassphrase(tt.PEMBytes, []byte(tt.EncryptionKey))
278
var e *UnsupportedCipherError
279
if !errors.As(err, &e) {
280
- t.Errorf("got error %v, want PassphraseMissingError", err)
+ t.Errorf("got error %v, want UnsupportedCipherError", err)
281
}
282
283
if e.BadCipher != tt.Cipher {
0 commit comments