(t *testing.T, want, got []*Goroutine)
| 428 | } |
| 429 | |
| 430 | func zapGoroutines(t *testing.T, want, got []*Goroutine) { |
| 431 | if len(want) != len(got) { |
| 432 | t.Helper() |
| 433 | t.Error("different []*Goroutine length") |
| 434 | return |
| 435 | } |
| 436 | for i := range want { |
| 437 | // &(*Goroutine).Signature |
| 438 | zapSignatures(t, &want[i].Signature, &got[i].Signature) |
| 439 | } |
| 440 | } |
| 441 | |
| 442 | // similarSignatures compares Signature to be similar enough. |
| 443 | // |
no test coverage detected
searching dependent graphs…