Skip to content

Commit

Permalink
style: refactor tests and update CI configurations
Browse files Browse the repository at this point in the history
- Remove `nolint:unparam` comment from `serve_test.go` file

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
  • Loading branch information
appleboy committed Feb 17, 2024
1 parent 6e6360c commit 21b6603
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion serve_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 21b6603

Please sign in to comment.