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

Function similarSignatures

stack/stack_test.go:445–451  ·  view source on GitHub ↗

similarSignatures compares Signature to be similar enough. Warning: it mutates inputs.

(t *testing.T, want, got *Signature)

Source from the content-addressed store, hash-verified

443//
444// Warning: it mutates inputs.
445func similarSignatures(t *testing.T, want, got *Signature) {
446 zapSignatures(t, want, got)
447 if diff := cmp.Diff(want, got); diff != "" {
448 t.Helper()
449 t.Fatalf("Signature mismatch (-want +got):\n%s", diff)
450 }
451}
452
453func zapSignatures(t *testing.T, want, got *Signature) {
454 // Signature.Stack.([]Call)

Callers 1

Calls 1

zapSignaturesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…