Skip to content

Commit 6b0683b

Browse files
committed
Fix linter.
1 parent b10b773 commit 6b0683b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

slice/internal/util/testing/error_matchers.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ func BeError(errorType ErrorType) types.GomegaMatcher {
6767
func (matcher *errorMatcher) Match(actual any) (success bool, err error) {
6868
err, ok := actual.(error)
6969
if !ok {
70-
//nolint:staticcheck // We keep the error capitalized for consistency with built-in matchers.
7170
return false, fmt.Errorf("Error matcher expects an error. Got:\n%s", format.Object(actual, 1))
7271
}
7372

0 commit comments

Comments
 (0)