Skip to content

Commit

Permalink
sweep: fix make lint
Browse files Browse the repository at this point in the history
  • Loading branch information
yyforyongyu committed Jul 12, 2023
1 parent 5d5699d commit 85b030a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,10 @@ issues:
- path: mock*
linters:
- revive
# forcetypeassert is skipped for the mock because the test would fail
# if the returned value doesn't match the type, so there's no need to
# check the convert.
- forcetypeassert

- path: test*
linters:
Expand Down
2 changes: 2 additions & 0 deletions sweep/sweeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2390,6 +2390,7 @@ func TestFeeRateForPreference(t *testing.T) {
},
}

//nolint:paralleltest
for _, tc := range testCases {
tc := tc

Expand Down Expand Up @@ -2548,6 +2549,7 @@ func TestClusterByLockTime(t *testing.T) {
},
}

//nolint:paralleltest
for _, tc := range testCases {
tc := tc

Expand Down

0 comments on commit 85b030a

Please sign in to comment.