mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-26 03:01:42 +00:00
linters: enable scopelint (#3963)
* Pin range scope vars * Don't disable scopelint This PR repairs linter errors seen when running the following commands: golangci-lint run --no-config --disable-all=true --enable=scopelint Contributes to #3262
This commit is contained in:
committed by
Anton Kaliaev
parent
961e1d360f
commit
d1d517a9b7
@ -40,6 +40,7 @@ func TestJSONMarshal(t *testing.T) {
|
||||
}
|
||||
|
||||
for i, tc := range cases {
|
||||
tc := tc
|
||||
t.Run(fmt.Sprintf("Case %d", i), func(t *testing.T) {
|
||||
ts := TestStruct{B1: tc.input, B2: tc.input}
|
||||
|
||||
|
Reference in New Issue
Block a user