Remove ToString0[T] usage to fix golangci-lint

This commit is contained in:
世界
2022-07-10 22:00:28 +08:00
parent 0ef2e330e3
commit 6048b1e270
24 changed files with 59 additions and 99 deletions

View File

@@ -9,6 +9,7 @@ import (
)
func TestMatch(t *testing.T) {
t.Parallel()
r := require.New(t)
matcher := domain.NewMatcher([]string{"domain.com"}, []string{"suffix.com", ".suffix.org"})
r.True(matcher.Match("domain.com"))