style: refactor tests and update CI configurations
- Remove `nolint:unparam` comment from `serve_test.go` file Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
6e6360c0c7
commit
21b6603afc
|
@ -13,7 +13,6 @@ import (
|
|||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
//nolint:unparam
|
||||
func PerformRequest(r http.Handler, method, path string) *httptest.ResponseRecorder {
|
||||
req, _ := http.NewRequestWithContext(context.Background(), method, path, nil)
|
||||
w := httptest.NewRecorder()
|
||||
|
|
Loading…
Reference in New Issue