Skip to content

Commit

Permalink
Fix linter complaint
Browse files Browse the repository at this point in the history
  • Loading branch information
fasmat committed Feb 18, 2025
1 parent 1d7da28 commit bb9eb4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tortoise/tortoise_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1364,7 +1364,7 @@ func TestVoteAgainstSupportedByBaseBallot(t *testing.T) {
return err
})
require.NoError(t, err)
require.True(t, !ballot.Layer.Before(last) && !ballot.Layer.After(last), "%s not in [%s,%s]", ballot.Layer, last, last)
require.Equal(t, last, ballot.Layer)

require.Len(t, votes.Against, len(unsupported))
for _, vote := range votes.Against {
Expand Down

0 comments on commit bb9eb4f

Please sign in to comment.