Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeauclair committed Jun 24, 2024
1 parent 3ca01f4 commit 4a90eff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assert/assertions.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}
}
Expand Down

0 comments on commit 4a90eff

Please sign in to comment.