fix(lint): should be written without leading space
This commit is contained in:
parent
ad4c6b0b31
commit
45b3e72f18
|
@ -14,14 +14,9 @@ import (
|
|||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
<<<<<<< HEAD:serve_test.go
|
||||
//nolint:unparam
|
||||
func PerformRequest(r http.Handler, method, path string) *httptest.ResponseRecorder {
|
||||
req, _ := http.NewRequest(method, path, nil)
|
||||
=======
|
||||
// nolint:unparam
|
||||
func performRequest(r http.Handler, method, path string) *httptest.ResponseRecorder {
|
||||
req, _ := http.NewRequestWithContext(context.Background(), method, path, nil)
|
||||
>>>>>>> 7756450 (chore(lint): add golang lint config):static_test.go
|
||||
w := httptest.NewRecorder()
|
||||
r.ServeHTTP(w, req)
|
||||
return w
|
||||
|
|
Loading…
Reference in New Issue