(t *testing.T, want, got *Stack)
| 467 | } |
| 468 | |
| 469 | func 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 | |
| 483 | func zapCalls(t *testing.T, want, got *Call) { |
| 484 | t.Helper() |
no test coverage detected
searching dependent graphs…