Update golangci-lint configuration

This commit is contained in:
世界 2024-08-18 11:14:54 +08:00
parent e33b1d67d5
commit ec1df651e8
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
4 changed files with 19 additions and 1 deletions

View file

@ -6,6 +6,7 @@ import (
)
func TestRevertRanges(t *testing.T) {
t.Parallel()
for _, testRange := range []struct {
start, end int
ranges []Range[int]
@ -77,6 +78,7 @@ func TestRevertRanges(t *testing.T) {
}
func TestMergeRanges(t *testing.T) {
t.Parallel()
for _, testRange := range []struct {
ranges []Range[int]
expected []Range[int]
@ -144,6 +146,7 @@ func TestMergeRanges(t *testing.T) {
}
func TestExcludeRanges(t *testing.T) {
t.Parallel()
for _, testRange := range []struct {
ranges []Range[int]
exclude []Range[int]