aboutsummaryrefslogtreecommitdiff
path: root/lib/http/server_test.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2019-01-29 04:49:28 +0700
committerShulhan <ms@kilabit.info>2019-01-29 04:49:28 +0700
commit4fa1b3f0ba614703dc02bd781cc25372fb38d514 (patch)
treec10fd6a2117c4b62292b553e01062d58f1391df2 /lib/http/server_test.go
parent452bacc95b77fe86a7bf01baeeb1543c6e3483a8 (diff)
downloadpakakeh.go-4fa1b3f0ba614703dc02bd781cc25372fb38d514.tar.xz
lib/http: suppress linter warning on global variable on test file
Diffstat (limited to 'lib/http/server_test.go')
-rw-r--r--lib/http/server_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http/server_test.go b/lib/http/server_test.go
index bfe17e9e..c0c12996 100644
--- a/lib/http/server_test.go
+++ b/lib/http/server_test.go
@@ -135,7 +135,7 @@ func TestRegisterDelete(t *testing.T) {
}
}
-var testEvaluator = func(req *http.Request, reqBody []byte) error {
+var testEvaluator = func(req *http.Request, reqBody []byte) error { // nolint: gochecknoglobals
k := req.Form.Get("k")
if len(k) == 0 {