Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
Signed-off-by: cpanato <[email protected]>
  • Loading branch information
cpanato committed Jul 5, 2024
1 parent b98fea5 commit 1873792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cosign/keys_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ func TestImportPrivateKey(t *testing.T) {
{
fileName: "invalidecp224.key",
pemData: invalidecp224,
expected: errors.New("error validating ecdsa key: unsupported ec curve, expected NIST P-256, P-384, or P-521"),
expected: errors.New("error validating ecdsa key: ECDSA curve P-224 not allowed"),
},
{
fileName: "invalidecunsupported.key",
Expand Down

0 comments on commit 1873792

Please sign in to comment.