testleak

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(t *testing.T, maxWait time.Duration)

Check reports error if the test is leaking goroutine. Default timeout is 3s.

func CheckMain

func CheckMain(m *testing.M, maxWait time.Duration)

CheckMain reports error if goroutines are leaking after all tests are done. Default timeout is 3s.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL