# Functions
ApplyOptions calls any number of ConfigOption implementations against the target value.
AssertEventually is equivalent to assert.Eventually from stretchr/testify/assert, except that it does not use a separate goroutine so it does not cause problems with our test framework.
AssertNever is equivalent to assert.Never from stretchr/testify/assert, except that it does not use a separate goroutine so it does not cause problems with our test framework.
CopyOf returns a shallow copy of a slice.
IfElse returns valueIfTrue or valueIfFalse depending on isTrue.
NonBlockingSend is a shortcut for using select to do a non-blocking send.
PollForSpecificResultValue calls testFn repeatedly at intervals until the expected value is seen or the timeout elapses.
RequireEventually is equivalent to require.Eventually from stretchr/testify/assert, except that it does not use a separate goroutine so it does not cause problems with our test framework.
RequireNever is equivalent to require.Never from stretchr/testify/assert, except that it does not use a separate goroutine so it does not cause problems with our test framework.
RequireNoMoreValues tries to receive a value within the given timeout, and causes the test to fail and terminate immediately if a value was received.
RequireNoMoreValuesWithMessage is the same as RequireNoMoreValues, but allows customization of the failure message.
RequireValue tries to receive a value and returns it if successful, or causes the test to fail and terminate immediately if it timed out.
RequireValueWithMessage is the same as RequireValue, but allows customization of the failure message.
SliceContains returns true if and only if the slice has an element that equals the value.
Sorted returns a sorted copy of a slice.
TryReceive is a shortcut for using select to do a receive with timeout.
# Structs
TestRecorder is a stub implementation of TestContext for testing test logic.
# Interfaces
ConfigOption is an interface for use with the vararg options pattern and ApplyOptions.
TestContext is a minimal interface for types like *testing.T and *ldtest.T representing a test that can fail.
# Type aliases
ConfigOptionFunc is a decorator for a function being used as a ConfigOption.