lint: enable nolintlinter, disable on tests

## Description
- enable nolintlint
- disable linting on tests

Closes: #XXX
This commit is contained in:
Marko
2020-05-04 07:49:53 +00:00
committed by GitHub
parent 336b929eaa
commit b7c2d7a977
14 changed files with 13 additions and 28 deletions
-1
View File
@@ -213,7 +213,6 @@ func TestSnapshotPool_Reject(t *testing.T) {
assert.True(t, added)
}
// nolint: dupl
func TestSnapshotPool_RejectFormat(t *testing.T) {
stateProvider := &mocks.StateProvider{}
stateProvider.On("AppHash", mock.Anything).Return([]byte("app_hash"), nil)