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

Function zapGoroutines

stack/stack_test.go:430–440  ·  view source on GitHub ↗
(t *testing.T, want, got []*Goroutine)

Source from the content-addressed store, hash-verified

428}
429
430func 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//

Callers 1

similarGoroutinesFunction · 0.85

Calls 1

zapSignaturesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…