From e88c7e0170cb8df8b8bfe1f59dfd4950cb0a4742 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Tue, 29 Sep 2026 01:41:24 +0200 Subject: [PATCH] Say mustPanic wants internalError's phrase --- builtins_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builtins_test.go b/builtins_test.go index 6e2aa60..d093483 100644 --- a/builtins_test.go +++ b/builtins_test.go @@ -213,8 +213,8 @@ func TestArgGuardsPanic(t *testing.T) { } } -// mustPanic fails unless call panics, which is what separates a reported -// invariant break from a silently wrong value. +// mustPanic fails unless call panics with internalError's phrase, which is what +// separates a reported invariant break from a silently wrong value. func mustPanic(t *testing.T, name string, call func()) { t.Helper() defer func() {