Skip to content

Commit

Permalink
fix lint issue
Browse files Browse the repository at this point in the history
Signed-off-by: Jon Carl <[email protected]>
  • Loading branch information
grounded042 committed Jul 9, 2021
1 parent e60df54 commit 58a0c0f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion validate/josev2/josev2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,10 @@ func Test_JWKSProvider(t *testing.T) {
switch r.URL.String() {
case "/.well-known/openid-configuration":
wk := oidc.WellKnownEndpoints{JWKSURI: server.URL + "/url_for_jwks"}
json.NewEncoder(w).Encode(wk)
err := json.NewEncoder(w).Encode(wk)
if !equalErrors(err, "") {
t.Fatalf("did not want an error, but got %s", err)
}
case "/url_for_jwks":
_, err := w.Write(responseBytes)
if !equalErrors(err, "") {
Expand Down

0 comments on commit 58a0c0f

Please sign in to comment.