MCPcopy
hub / github.com/uber-go/goleak / TestingM

Interface TestingM

testmain.go:36–38  ·  view source on GitHub ↗

TestingM is the minimal subset of testing.M that we use.

Source from the content-addressed store, hash-verified

34
35// TestingM is the minimal subset of testing.M that we use.
36type TestingM interface {
37 Run() int
38}
39
40// VerifyTestMain can be used in a TestMain function for package tests to
41// verify that there were no goroutine leaks.

Callers 8

VerifyTestMainFunction · 0.65
TestFindFunction · 0.65
TestVerifyNoneFunction · 0.65
TestIgnoreCurrentFunction · 0.65
TestVerifyParallelFunction · 0.65
TestParseFuncNameFunction · 0.65
TestParseStackFunction · 0.65
TestParseStackErrorsFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…