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

Function compareGoroutines

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

Source from the content-addressed store, hash-verified

517}
518
519func compareGoroutines(t *testing.T, want, got []*Goroutine) {
520 if diff := cmp.Diff(want, got); diff != "" {
521 t.Helper()
522 t.Fatalf("Goroutine mismatch (-want +got):\n%s", diff)
523 }
524}
525
526func compareStacks(t *testing.T, want, got *Stack) {
527 if diff := cmp.Diff(want, got); diff != "" {

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…