MCPcopy Index your code
hub / github.com/maruel/panicparse / zapStacks

Function zapStacks

stack/stack_test.go:469–481  ·  view source on GitHub ↗
(t *testing.T, want, got *Stack)

Source from the content-addressed store, hash-verified

467}
468
469func zapStacks(t *testing.T, want, got *Stack) {
470 if len(want.Calls) != len(got.Calls) {
471 t.Helper()
472 t.Error("different Stack.[]Call length")
473 return
474 }
475 if len(want.Calls) != 0 {
476 t.Helper()
477 }
478 for i := range want.Calls {
479 zapCalls(t, &want.Calls[i], &got.Calls[i])
480 }
481}
482
483func zapCalls(t *testing.T, want, got *Call) {
484 t.Helper()

Callers 2

zapSignaturesFunction · 0.85

Calls 1

zapCallsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…