From c2dbb7141a7c95aa521a41b27bed3af25de8f546 Mon Sep 17 00:00:00 2001 From: Ondřej Benkovský Date: Sun, 10 Jul 2022 20:06:33 +0200 Subject: add golangci-lint linter (#5499) --- plugin/rewrite/setup_test.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'plugin/rewrite/setup_test.go') diff --git a/plugin/rewrite/setup_test.go b/plugin/rewrite/setup_test.go index dcc10cd87..88d332fb4 100644 --- a/plugin/rewrite/setup_test.go +++ b/plugin/rewrite/setup_test.go @@ -8,7 +8,6 @@ import ( ) func TestParse(t *testing.T) { - tests := []struct { inputFileRules string shouldErr bool @@ -49,5 +48,4 @@ func TestParse(t *testing.T) { t.Errorf("Test %d got wrong error for invalid response rewrite: '%v'\n---\n%s", i, err.Error(), test.inputFileRules) } } - } -- cgit v1.2.3