Golangci-lint fix
This commit is contained in:
parent
3c48a3e6d4
commit
664896b3dd
@ -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)
|
||||
|
Reference in New Issue
Block a user