Remove ToString0[T] usage to fix golangci-lint
This commit is contained in:
24 files changed
+59
-99
No files matched your search
@@ -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"))
|
||||
|
||||
Reference in new issue
Block a user