From 4a90eff4ae12f3ed4bc9331e2f8ba368317fe86e Mon Sep 17 00:00:00 2001 From: Mike Auclair Date: Mon, 24 Jun 2024 16:50:27 +0000 Subject: [PATCH] fix --- assert/assertions.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assert/assertions.go b/assert/assertions.go index cf4d80f..02dc374 100644 --- a/assert/assertions.go +++ b/assert/assertions.go @@ -217,8 +217,8 @@ func CallerInfo() []string { var name string callers := []string{} - pcs := []uintptr{} - n := runtime.Callers(0, pcs) + pcs := make([]uintptr, 50) + n := runtime.Callers(1, pcs) if n == 0 { return []string{} }