From a3ccdd9f491c20771cfda343ebebd4b5d0ea6602 Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Tue, 18 Aug 2026 13:40:20 +0200 Subject: test coverage for microprom --- assert/panic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'assert/panic.go') diff --git a/assert/panic.go b/assert/panic.go index 69828a4..e19b815 100644 --- a/assert/panic.go +++ b/assert/panic.go @@ -26,7 +26,7 @@ func PanicsWith[T any](t TestingTB, action func()) T { value, ok := result.Panic.(T) if !ok { var zero T - t.Fatalf("panicked with incorrect type: expected %T, but got %#v", zero, result.Panic) + t.Fatalf("panicked with incorrect type: expected %T, but got %T: %#v", zero, result.Panic, result.Panic) } return value } -- cgit v1.3.1