Versions in this module Expand all Collapse all v0 v0.0.10 Nov 7, 2022 Changes in this version + func Equal(t testing.TB, want, got interface{}, msgAndArgs ...interface{}) + func Error(t testing.TB, err error, msgAndArgs ...interface{}) + func Eventually(t testing.TB, condition func(ctx context.Context) bool, ...) + func False(t testing.TB, ok bool, msgAndArgs ...interface{}) + func Never(t testing.TB, condition func(ctx context.Context) bool, ...) + func NoError(t testing.TB, err error, msgAndArgs ...interface{}) + func NotEqual(t testing.TB, want, got interface{}, msgAndArgs ...interface{}) + func NotPanics(t testing.TB, f PanicTestFunc, msgAndArgs ...interface{}) + func NotRegexp(t testing.TB, rx interface{}, str string, msgAndArgs ...interface{}) + func Panics(t testing.TB, f PanicTestFunc, msgAndArgs ...interface{}) + func Regexp(t testing.TB, rx interface{}, str string, msgAndArgs ...interface{}) + func True(t testing.TB, ok bool, msgAndArgs ...interface{}) + type As struct + func New(t testing.TB) *As + func (a *As) FailDirectly(b bool) *As + func (c *As) Equal(want, got interface{}, msgAndArgs ...interface{}) + func (c *As) Error(err error, msgAndArgs ...interface{}) + func (c *As) Eventually(condition func(ctx context.Context) bool, waitFor, tick time.Duration, ...) + func (c *As) False(ok bool, msgAndArgs ...interface{}) + func (c *As) Never(condition func(ctx context.Context) bool, waitFor, tick time.Duration, ...) + func (c *As) NoError(err error, msgAndArgs ...interface{}) + func (c *As) NotEqual(want, got interface{}, msgAndArgs ...interface{}) + func (c *As) NotPanics(f PanicTestFunc, msgAndArgs ...interface{}) + func (c *As) NotRegexp(rx interface{}, str string, msgAndArgs ...interface{}) + func (c *As) Panics(f PanicTestFunc, msgAndArgs ...interface{}) + func (c *As) Regexp(rx interface{}, str string, msgAndArgs ...interface{}) + func (c *As) True(ok bool, msgAndArgs ...interface{}) + type PanicTestFunc func()