From 9191e018ff90deb99f3881966a5d356a05027e0f Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Tue, 14 Apr 2026 00:41:25 +0200 Subject: initial test coverage for Store.Select functions --- internal/must/must.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/must/must.go') diff --git a/internal/must/must.go b/internal/must/must.go index e472579..7a137c6 100644 --- a/internal/must/must.go +++ b/internal/must/must.go @@ -7,6 +7,7 @@ import "testing" // Succeed fails the test if err is not nil. func Succeed(t testing.TB, err error) { + t.Helper() if err != nil { t.Fatal(err.Error()) } @@ -16,6 +17,7 @@ func Succeed(t testing.TB, err error) { // and either forwards the result value on success, or fails the test on error. func Return[V any](value V, err error) func(testing.TB) V { return func(t testing.TB) V { + t.Helper() if err != nil { t.Fatal(err.Error()) } -- cgit v1.2.3