Skip to content

Commit 61dce52

Browse files
cuishuangneild
authored andcommitted
internal: remove redundant type conversion
Change-Id: Idc56f7f5e5fd404ad7a2b28eed995508f974a554 GitHub-Last-Rev: 5f261a9 GitHub-Pull-Request: #976 Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/429056 Reviewed-by: Tatiana Bradley <[email protected]> Reviewed-by: Damien Neil <[email protected]> Run-TryBot: Damien Neil <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
1 parent cff0c81 commit 61dce52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/cveclient/cveclient_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func newTestCVE(id, state, year string) AssignedCVE {
8080
}
8181

8282
func newTestClientAndServer(handler http.HandlerFunc) (*Client, *httptest.Server) {
83-
s := httptest.NewServer(http.HandlerFunc(handler))
83+
s := httptest.NewServer(handler)
8484
c := New(Config{
8585
Endpoint: s.URL,
8686
Key: testApiKey,

0 commit comments

Comments
 (0)