Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall committed Apr 15, 2024
1 parent ff2caeb commit 05615b5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ func setupMockJwksServer(pub *rsa.PublicKey, kid string) *httptest.Server {
log.Fatalf("Unable to generate RSA keys: %v", err)
}

w.Write([]byte(jwks))
err = w.Write([]byte(jwks))
if err != nil {
log.Fatalf("Unable to generate RSA keys: %v", err)
}
})

return httptest.NewServer(handler)
Expand Down

0 comments on commit 05615b5

Please sign in to comment.