Skip to content

Commit

Permalink
Make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrit committed Sep 27, 2024
1 parent 4604b59 commit ece8dc2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x/auction/types/params_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ func TestParamsValidate(t *testing.T) {

for _, tc := range testCases {
err := tc.params.ValidateBasic()
tc := tc
if tc.expPass {
require.NoError(t, err, tc.name)
require.Nil(t, err)
Expand Down Expand Up @@ -168,6 +169,7 @@ func TestParamsValidateBasicUnhappyPath(t *testing.T) {
}

for _, tc := range testCases {
tc := tc
t.Run(tc.name, func(t *testing.T) {
err := tc.params.ValidateBasic()
require.Error(t, err)
Expand Down

0 comments on commit ece8dc2

Please sign in to comment.