From 2181afb0ce30901d71db725e92c3aecdc8a2ea2b Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Sat, 27 Jun 2026 23:12:22 +0200 Subject: v1.11.1 --- assert/errequal.go | 1 + 1 file changed, 1 insertion(+) (limited to 'assert') diff --git a/assert/errequal.go b/assert/errequal.go index d7bd8ba..a297ead 100644 --- a/assert/errequal.go +++ b/assert/errequal.go @@ -30,6 +30,7 @@ func ErrEqual(t TestingTB, actual error, expected any) bool { // ErrsEqual checks if a list of actual errors matches the expectation. // Both lists must be of equal length, and each individual entry must match according to [ErrEqual]. func ErrsEqual[A ~[]error, E ~[]V, V any](t TestingTB, actual A, expected E) bool { + t.Helper() ok := true for idx := range max(len(actual), len(expected)) { var err error -- cgit v1.3.1