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:
Bo-Yi Wu 2024-02-17 16:39:35 +08:00
parent 6e6360c0c7
commit 21b6603afc
No known key found for this signature in database
1 changed files with 0 additions and 1 deletions

View File

@ -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()