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

Function TestSignature_Equal

stack/stack_test.go:284–295  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

282}
283
284func TestSignature_Equal(t *testing.T) {
285 t.Parallel()
286 s1 := getSignature()
287 s2 := getSignature()
288 if !s1.equal(s2) {
289 t.Fatal("equal")
290 }
291 s2.State = "foo"
292 if s1.equal(s2) {
293 t.Fatal("inequal")
294 }
295}
296
297func TestSignature_Similar(t *testing.T) {
298 t.Parallel()

Callers

nothing calls this directly

Calls 2

getSignatureFunction · 0.85
equalMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…