Skip to content

Commit

Permalink
fix: linter issue with nolint:testifylint
Browse files Browse the repository at this point in the history
  • Loading branch information
xanish committed Oct 23, 2024
1 parent 1695712 commit 526c3e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/reporter/reporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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...)
}
}
Expand Down

0 comments on commit 526c3e8

Please sign in to comment.