gotools/internal/stack/stacktest/stacktest.go

type withCleanup

const maxWait

// NoLeak checks that a test (or benchmark) does not leak any goroutines.
func NoLeak(t testing.TB) {}