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

Function TestSignature

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

Source from the content-addressed store, hash-verified

272}
273
274func TestSignature(t *testing.T) {
275 t.Parallel()
276 s := getSignature()
277 compareString(t, "", s.SleepString())
278 s.SleepMax = 10
279 compareString(t, "0~10 minutes", s.SleepString())
280 s.SleepMin = 10
281 compareString(t, "10 minutes", s.SleepString())
282}
283
284func TestSignature_Equal(t *testing.T) {
285 t.Parallel()

Callers

nothing calls this directly

Calls 3

getSignatureFunction · 0.85
SleepStringMethod · 0.80
compareStringFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…