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

Function TestSignature_Less

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

Source from the content-addressed store, hash-verified

308}
309
310func TestSignature_Less(t *testing.T) {
311 t.Parallel()
312 s1 := getSignature()
313 s2 := getSignature()
314 if s1.less(s2) || s2.less(s1) {
315 t.Fatal("less")
316 }
317 s2.State = "foo"
318 if !s1.less(s2) || s2.less(s1) {
319 t.Fatal("not less")
320 }
321 s2 = getSignature()
322 s2.Stack.Calls = s2.Stack.Calls[:1]
323 if !s1.less(s2) || s2.less(s1) {
324 t.Fatal("not less")
325 }
326}
327
328//
329

Callers

nothing calls this directly

Calls 2

getSignatureFunction · 0.85
lessMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…