Versions in this module Expand all Collapse all v1 v1.0.0 Mar 15, 2024 Changes in this version + func AssertErrorMsg(t testing.TB, msg string, err error) (ok bool) + func AssertMarshalText(t testing.TB, s string, v encoding.TextMarshaler) (ok bool) + func AssertUnmarshalText(t testing.TB, s string, v encoding.TextUnmarshaler) (ok bool) + func CleanupAndRequireSuccess(t testing.TB, f func() (err error)) + func DiscardLogOutput(m *testing.M) + func RequireReceive[T any](t require.TestingT, ch <-chan T, timeout time.Duration) (res T, ok bool) + func RequireSend[T any](t require.TestingT, ch chan<- T, v T, timeout time.Duration) + func RequireTypeAssert[T any](t testing.TB, v any) (res T) + type PanicT struct + func (PanicT) Errorf(format string, args ...any) + func (PanicT) FailNow()