From 526c3e81765bda4ec9c0595ade3c6247875c219a Mon Sep 17 00:00:00 2001 From: xanish Date: Wed, 23 Oct 2024 23:58:49 +0530 Subject: [PATCH] fix: linter issue with nolint:testifylint --- pkg/reporter/reporter_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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...) } }