Versions in this module Expand all Collapse all v3 v3.0.2 Aug 30, 2022 v3.0.1 Aug 29, 2022 Changes in this version + func AsPointer(v V) *V + func AssertChannelClosed(t assert.TestingT, ch <-chan V, timeout time.Duration, ...) bool + func AssertChannelNotClosed(t assert.TestingT, ch <-chan V, timeout time.Duration, ...) bool + func AssertNoMoreValues(t assert.TestingT, ch <-chan V, timeout time.Duration, ...) bool + func FilePathExists(path string) bool + func ReadWithTimeout(r io.Reader, n int, timeout time.Duration) []byte + func RequireValue(t require.TestingT, ch <-chan V, timeout time.Duration, ...) V + func TryReceive(ch <-chan V, timeout time.Duration) (V, bool, bool) + func WithCloser(closeableObject io.Closer, action func()) + func WithTempDir(f func(path string)) + func WithTempFile(f func(filePath string)) + func WithTempFileData(data []byte, f func(filePath string)) Other modules containing this package github.com/launchdarkly/go-test-helpers github.com/launchdarkly/go-test-helpers/v2