From ce1f7a9cb511d482e5757c20e061851f905b07a0 Mon Sep 17 00:00:00 2001 From: Sergey Date: Wed, 3 Jul 2024 13:45:33 +0300 Subject: [PATCH] chore: fixed linting --- pkg/fetchers/cosmos/proposals_v1beta1_test.go | 2 +- pkg/fetchers/cosmos/vote_test.go | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pkg/fetchers/cosmos/proposals_v1beta1_test.go b/pkg/fetchers/cosmos/proposals_v1beta1_test.go index 2089675..30887b4 100644 --- a/pkg/fetchers/cosmos/proposals_v1beta1_test.go +++ b/pkg/fetchers/cosmos/proposals_v1beta1_test.go @@ -110,7 +110,7 @@ func TestProposalsV1beta1Success(t *testing.T) { context.Background(), ) - require.Nil(t, err) //nolint:testifylint //disabled + require.Nil(t, err) require.Zero(t, height) require.Len(t, proposals, 25) } diff --git a/pkg/fetchers/cosmos/vote_test.go b/pkg/fetchers/cosmos/vote_test.go index c9361b1..2263077 100644 --- a/pkg/fetchers/cosmos/vote_test.go +++ b/pkg/fetchers/cosmos/vote_test.go @@ -139,7 +139,7 @@ func TestVoteOk(t *testing.T) { context.Background(), ) - require.Nil(t, err) //nolint:testifylint //disabled + require.Nil(t, err) require.Zero(t, height) require.NotNil(t, vote) require.Equal(t, types.VoteOptions{ @@ -174,7 +174,7 @@ func TestVoteOkUnknown(t *testing.T) { context.Background(), ) - require.Nil(t, err) //nolint:testifylint //disabled + require.Nil(t, err) require.Zero(t, height) require.NotNil(t, vote) require.Equal(t, types.VoteOptions{ @@ -209,7 +209,7 @@ func TestVoteOkOld(t *testing.T) { context.Background(), ) - require.Nil(t, err) //nolint:testifylint //disabled + require.Nil(t, err) require.Zero(t, height) require.NotNil(t, vote) require.Equal(t, types.VoteOptions{ @@ -244,7 +244,7 @@ func TestVoteOkOldUnknown(t *testing.T) { context.Background(), ) - require.Nil(t, err) //nolint:testifylint //disabled + require.Nil(t, err) require.Zero(t, height) require.NotNil(t, vote) require.Equal(t, types.VoteOptions{