diff options
| author | Shulhan <m.shulhan@gmail.com> | 2020-06-06 05:25:23 +0700 |
|---|---|---|
| committer | Shulhan <m.shulhan@gmail.com> | 2020-06-06 05:25:42 +0700 |
| commit | b1133f25df3ec38b503e1ea6129ea6b3397968bb (patch) | |
| tree | 53a2c6755c6a2e0d9ed13b84603e5b8bcd2e3ee0 /lib/http/server_test.go | |
| parent | 8661178b08ce640d7c24aec8465802e4d5160e2a (diff) | |
| download | pakakeh.go-b1133f25df3ec38b503e1ea6129ea6b3397968bb.tar.xz | |
all: use default linter options
Diffstat (limited to 'lib/http/server_test.go')
| -rw-r--r-- | lib/http/server_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/http/server_test.go b/lib/http/server_test.go index 7446274f..a691938f 100644 --- a/lib/http/server_test.go +++ b/lib/http/server_test.go @@ -171,7 +171,6 @@ func TestRegisterDelete(t *testing.T) { } } -//nolint:gochecknoglobals var testEvaluator = func(req *http.Request, reqBody []byte) error { k := req.Form.Get("k") @@ -631,7 +630,7 @@ func TestServeHTTPOptions(t *testing.T) { t.Fatal(err) } - res, err := client.Do(req) //nolint:bodyclose + res, err := client.Do(req) if err != nil { t.Fatal(err) } |
