diff --git a/pkg/reporter/reporter_test.go b/pkg/reporter/reporter_test.go index 592c495..ac36f34 100644 --- a/pkg/reporter/reporter_test.go +++ b/pkg/reporter/reporter_test.go @@ -504,7 +504,7 @@ func assertRegexpError(regexp any) assert.ErrorAssertionFunc { if h, ok := t.(interface{ Helper() }); ok { h.Helper() } - // nolint: testifylint // in this use case it's ok to use assert.Error + //nolint:testifylint // in this use case it's ok to use assert.Error return assert.Error(t, got, msg...) && assert.Regexp(t, regexp, got.Error(), msg...) } }