Documentation
¶
Index ¶
- func ChanEmpty[T any](t *testing.T, c <-chan T)
- func ChanNonEmpty[T any](t *testing.T, c <-chan T)
- func Closed[T any](t *testing.T, ch <-chan T, args ...any)
- func Element[T any](t *testing.T, ch <-chan T, args ...any) T
- func Equal[T any](t *testing.T, actual, expected T, args ...any)
- func EqualProtobuf[T proto.Message](t *testing.T, actual, expected T, args ...any)
- func NotEqual[T any](t *testing.T, actual, expected T, args ...any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChanEmpty ¶
ChanEmpty verifies that the channel is empty. Fails if the channel is not empty after some time
func ChanNonEmpty ¶
ChanNonEmpty verifies that the channel has elements. Fails if the channel is empty after some time
func Equal ¶
Equal is a typed convenience wrapper over require.Equal to make constants the correct type. Also uses the idiomatic "have before want" parameter ordering.
func EqualProtobuf ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.