testing.common.cleanups (field)
9 uses
testing (current package)
testing.go#L395: cleanups []func() // optional functions to be called at the end of the test
testing.go#L906: c.cleanups = append(c.cleanups, fn)
testing.go#L988: recur := len(c.cleanups) > 0
testing.go#L998: if len(c.cleanups) > 0 {
testing.go#L999: last := len(c.cleanups) - 1
testing.go#L1000: cleanup = c.cleanups[last]
testing.go#L1001: c.cleanups = c.cleanups[:last]
The pages are generated with Golds v0.2.8-preview. (GOOS=darwin GOARCH=arm64)