(t *testing.T, want, got *Call)
| 481 | } |
| 482 | |
| 483 | func zapCalls(t *testing.T, want, got *Call) { |
| 484 | t.Helper() |
| 485 | if want.Line != 0 && got.Line != 0 { |
| 486 | want.Line = 42 |
| 487 | got.Line = 42 |
| 488 | } |
| 489 | zapArgs(t, &want.Args, &got.Args) |
| 490 | } |
| 491 | |
| 492 | func zapArgs(t *testing.T, want, got *Args) { |
| 493 | if len(want.Values) != len(got.Values) { |
no test coverage detected
searching dependent graphs…