package
Version:
v3.0.6
Opens a new window with list of versions in this module.
Published: Jan 7, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package cleanup handles migration to and support for the Go 1.14+
testing.TB.Cleanup() function.
func Cleanup(t logT, f func())
Cleanup registers f as a cleanup function on t if any mechanisms are available.
Skips registering f if TEST_NOCLEANUP is set to true.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.