Skip to content

Commit

Permalink
jwt api response spelling fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zosocanuck committed Nov 6, 2023
1 parent 54d8dfb commit 24a46fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/vsign/cli/jwt/jwt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func TestJWT(t *testing.T) {
header: "{'alg':'RS224','typ':'JWT'}",
payload: defaultPayload,
project: "vsign\\rsa2048-cert",
expected: []string{"unexpected error from API/Sign: Algorithm choosen is not supported."},
expected: []string{"unexpected error from API/Sign: Algorithm chosen is not supported."},
},
{
description: "Valid JWT signature using RS256",
Expand Down Expand Up @@ -52,7 +52,7 @@ func TestJWT(t *testing.T) {
header: "{'alg':'ES224','typ':'JWT'}",
payload: defaultPayload,
project: "vsign\\p256-cert",
expected: []string{"unexpected error from API/Sign: Algorithm choosen is not supported."},
expected: []string{"unexpected error from API/Sign: Algorithm chosen is not supported."},
},
{
description: "Valid JWT signature using ES256",
Expand Down Expand Up @@ -80,7 +80,7 @@ func TestJWT(t *testing.T) {
header: "{'alg':'EdDSA','typ':'JWT'}",
payload: defaultPayload,
project: "vsign\\ed25519",
expected: []string{"unexpected error from API/Sign: Algorithm choosen is not supported."},
expected: []string{"unexpected error from API/Sign: Algorithm chosen is not supported."},
},
}

Expand Down

0 comments on commit 24a46fe

Please sign in to comment.