chore: bump golangci-lint and fix all linting issues (#21761)
This commit is contained in:
@@ -70,7 +70,6 @@ func (s *KeeperTestSuite) TestSubmitEvidence() {
|
||||
}
|
||||
|
||||
for _, tc := range testCases {
|
||||
tc := tc
|
||||
s.Run(tc.name, func() {
|
||||
_, err := s.msgServer.SubmitEvidence(s.ctx, tc.req)
|
||||
if tc.expErr {
|
||||
|
||||
@@ -70,7 +70,6 @@ func TestEquivocationValidateBasic(t *testing.T) {
|
||||
}
|
||||
|
||||
for _, tc := range testCases {
|
||||
tc := tc
|
||||
t.Run(tc.name, func(t *testing.T) {
|
||||
require.Equal(t, tc.expectErr, tc.e.ValidateBasic() != nil)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user