Documentation
¶
Index ¶
- Variables
- func Contains(t *testing.T, a, contains any)
- func DirExists(t *testing.T, path string)
- func ElementsMatch(t *testing.T, a, b any)
- func Empty(t *testing.T, a any)
- func Equal(t *testing.T, a, b any)
- func EqualError(t *testing.T, a error, errString string)
- func ErrorAs(t *testing.T, a error, b any)
- func ErrorContains(t *testing.T, a error, contains string)
- func ErrorIs(t *testing.T, a, b error)
- func Fail(t *testing.T, failureMessage string)
- func FailNow(t *testing.T, failureMessage string)
- func False(t *testing.T, a bool)
- func FileExists(t *testing.T, path string)
- func Greater(t *testing.T, e1, e2 any)
- func GreaterOrEqual(t *testing.T, e1, e2 any)
- func Len(t *testing.T, a any, length int)
- func Less(t *testing.T, e1, e2 any)
- func LessOrEqual(t *testing.T, e1, e2 any)
- func Nil(t *testing.T, a any)
- func NotContains(t *testing.T, a, contains any)
- func NotEmpty(t *testing.T, a any)
- func NotEqual(t *testing.T, a, b any)
- func NotNil(t *testing.T, a any)
- func NotZero(t *testing.T, a any)
- func Subset(t *testing.T, list any, subset any)
- func True(t *testing.T, a bool)
- func Zero(t *testing.T, a any)
Constants ¶
This section is empty.
Variables ¶
View Source
var OnFail = func(t *testing.T) { if UseFailNow { t.FailNow() } }
View Source
var UseFailNow = true
Functions ¶
func ElementsMatch ¶
func FileExists ¶
func GreaterOrEqual ¶
func LessOrEqual ¶
func NotContains ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.