Documentation ¶
Index ¶
- func ElementsMatch(t *testing.T, x, y any, msgAndArgs ...any) bool
- func Empty(t *testing.T, x any, msgAndArgs ...any) bool
- func Equal(t *testing.T, x, y any, msgAndArgs ...any) bool
- func Fail(t *testing.T, msgAndArgs ...any) bool
- func FailNow(t *testing.T, msgAndArgs ...any) bool
- func False(t *testing.T, b bool, msgAndArgs ...any) bool
- func NoError(t *testing.T, err error, msgAndArgs ...any) bool
- func NoPanic(t *testing.T, f func(), msgAndArgs ...any) (b bool)
- func NotEqual(t *testing.T, x, y any, msgAndArgs ...any) bool
- func Panic(t *testing.T, f func(), msgAndArgs ...any) (b bool)
- func Replayable(enabled bool, f func(r *Replayer))
- func RequireElementsMatch(t *testing.T, x, y any, msgAndArgs ...any) bool
- func RequireEmpty(t *testing.T, x any, msgAndArgs ...any) bool
- func RequireEqual(t *testing.T, x, y any, msgAndArgs ...any) bool
- func RequireFalse(t *testing.T, b bool, msgAndArgs ...any) bool
- func RequireNoError(t *testing.T, err error, msgAndArgs ...any) bool
- func RequireNoPanic(t *testing.T, f func(), msgAndArgs ...any) (b bool)
- func RequireNotEqual(t *testing.T, x, y any, msgAndArgs ...any) bool
- func RequirePanic(t *testing.T, f func(), msgAndArgs ...any) (b bool)
- func RequireTrue(t *testing.T, b bool, msgAndArgs ...any) bool
- func True(t *testing.T, b bool, msgAndArgs ...any) bool
- type Marker
- type Replayer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ElementsMatch ¶ added in v1.6.0
func Replayable ¶
func RequireElementsMatch ¶ added in v1.6.0
func RequireEqual ¶ added in v1.6.0
func RequireNoError ¶ added in v1.6.0
func RequireNoPanic ¶ added in v1.6.0
func RequireNotEqual ¶ added in v1.6.0
func RequirePanic ¶ added in v1.6.0
Types ¶
Click to show internal directories.
Click to hide internal directories.