diff options
Diffstat (limited to 'tests/plugins')
-rw-r--r-- | tests/plugins/http/response_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/plugins/http/response_test.go b/tests/plugins/http/response_test.go index a9cbf91a..9bd2626d 100644 --- a/tests/plugins/http/response_test.go +++ b/tests/plugins/http/response_test.go @@ -138,8 +138,8 @@ func TestWrite_HandlesTrailers(t *testing.T) { assert.NoError(t, r.Write(w)) assert.Nil(t, w.h[httpPlugin.TrailerHeaderKey]) - assert.Nil(t, w.h["foo"]) //nolint:golint,staticcheck - assert.Nil(t, w.h["baz"]) //nolint:golint,staticcheck + assert.Nil(t, w.h["foo"]) //nolint:staticcheck + assert.Nil(t, w.h["baz"]) //nolint:staticcheck assert.Equal(t, "test", w.h.Get("Trailer:foo")) assert.Equal(t, "demo", w.h.Get("Trailer:bar")) |