diff options
| author | Stefan Majewsky <majewsky@gmx.net> | 2026-06-27 23:12:22 +0200 |
|---|---|---|
| committer | Stefan Majewsky <majewsky@gmx.net> | 2026-06-27 23:12:22 +0200 |
| commit | 2181afb0ce30901d71db725e92c3aecdc8a2ea2b (patch) | |
| tree | 061eac8927f28a4222a7242fa999dbf4017fb284 | |
| parent | 50b57eb137722c8fad58dfc39c1453ec9f4cc9cd (diff) | |
| download | go-gg-2181afb0ce30901d71db725e92c3aecdc8a2ea2b.tar.gz | |
v1.11.1v1.11.1
| -rw-r--r-- | CHANGELOG.md | 6 | ||||
| -rw-r--r-- | assert/errequal.go | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 611b709..f0e72a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ SPDX-FileCopyrightText: 2026 Stefan Majewsky <majewsky@gmx.net> SPDX-License-Identifier: Apache-2.0 --> +# v1.11.1 (2026-06-27) + +Changes: + +- Fixed `assert.ErrsEqual()` not calling `t.Helper()`. + # v1.11.0 (2026-06-27) Changes: 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 |
