Skip to content

Commit

Permalink
fix: check order
Browse files Browse the repository at this point in the history
  • Loading branch information
skynet2 committed Feb 19, 2024
1 parent 78f9e0c commit e3e2244
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func TestValidatePublicKeysErrors(t *testing.T) {

err = validatePublicKeys(doc.PublicKeys())
require.Error(t, err)
require.Contains(t, err.Error(), "JWK crv is missing")
require.Contains(t, err.Error(), "JWK kty is missing")
})

t.Run("pkB58 key with jwk type", func(t *testing.T) {
Expand Down

0 comments on commit e3e2244

Please sign in to comment.