We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cff0c81 commit 61dce52Copy full SHA for 61dce52
internal/cveclient/cveclient_test.go
@@ -80,7 +80,7 @@ func newTestCVE(id, state, year string) AssignedCVE {
80
}
81
82
func newTestClientAndServer(handler http.HandlerFunc) (*Client, *httptest.Server) {
83
- s := httptest.NewServer(http.HandlerFunc(handler))
+ s := httptest.NewServer(handler)
84
c := New(Config{
85
Endpoint: s.URL,
86
Key: testApiKey,
0 commit comments