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

Function TestSignature_Similar

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

Source from the content-addressed store, hash-verified

295}
296
297func TestSignature_Similar(t *testing.T) {
298 t.Parallel()
299 s1 := getSignature()
300 s2 := getSignature()
301 if !s1.similar(s2, ExactFlags) {
302 t.Fatal("equal")
303 }
304 s2.State = "foo"
305 if s1.similar(s2, ExactFlags) {
306 t.Fatal("inequal")
307 }
308}
309
310func TestSignature_Less(t *testing.T) {
311 t.Parallel()

Callers

nothing calls this directly

Calls 2

getSignatureFunction · 0.85
similarMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…