Skip to content

Commit

Permalink
fix linter error with golangci-lint v1.56.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremmfr committed Feb 9, 2024
1 parent e34bb0f commit 432d66b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basicalter/slice_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func TestFilterInSliceWith(t *testing.T) {
}

var nilSlice []string
if v := basicalter.FilterInSliceWith(nilSlice, func(s string) bool {
if v := basicalter.FilterInSliceWith(nilSlice, func(_ string) bool {
return true
}); v != nil {
t.Errorf("FilterInSliceWith didn't return nil slice with nil input slice")
Expand Down

0 comments on commit 432d66b

Please sign in to comment.