Golangci-lint fix

This commit is contained in:
irlndts 2019-06-18 15:08:55 +03:00
parent 3c48a3e6d4
commit 664896b3dd

View File

@ -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)