From 664896b3dd2e4f4283178be221a7cee3b31deb33 Mon Sep 17 00:00:00 2001 From: irlndts Date: Tue, 18 Jun 2019 15:08:55 +0300 Subject: [PATCH] Golangci-lint fix --- discogs_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/discogs_test.go b/discogs_test.go index de2e7db..e82167f 100644 --- a/discogs_test.go +++ b/discogs_test.go @@ -50,7 +50,8 @@ func TestNewClient(t *testing.T) { }, ErrCurrencyNotSupported}, } - for name, tt := range tests { + for name := range tests { + tt := tests[name] t.Run(name, func(t *testing.T) { if _, err := NewClient(tt.options); err != tt.err { t.Errorf("err got=%s; want=%s", err, tt.err)