testutil

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertNoLeaks

func AssertNoLeaks(t *testing.T, fn func(), maxDelta int)

AssertNoLeaks snapshots goroutine count before/after fn and fails if growth exceeds delta. This is a best-effort certification helper, not a precise leak detector.

Types

This section is empty.

Jump to

Keyboard shortcuts

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