MCPcopy Index your code
hub / github.com/tailscale/tailscale / Cleanup

Method Cleanup

util/testenv/testenv.go:26–26  ·  view source on GitHub ↗
(func())

Source from the content-addressed store, hash-verified

24// TB is testing.TB, to avoid importing "testing" in non-test code.
25type TB interface {
26 Cleanup(func())
27 Error(args ...any)
28 Errorf(format string, args ...any)
29 Fail()

Callers 15

runDialPlanTestFunction · 0.65
makeClientWithURLFunction · 0.65
newTestPipelineFunction · 0.65
newTestMapSessionFunction · 0.65
TestUpdateDomainsFunction · 0.65
TestUpdateRoutesFunction · 0.65
TestDomainRoutesFunction · 0.65
TestObserveDNSResponseFunction · 0.65

Calls

no outgoing calls

Tested by 15

runDialPlanTestFunction · 0.52
makeClientWithURLFunction · 0.52
newTestPipelineFunction · 0.52
newTestMapSessionFunction · 0.52
TestUpdateDomainsFunction · 0.52
TestUpdateRoutesFunction · 0.52
TestDomainRoutesFunction · 0.52
TestObserveDNSResponseFunction · 0.52