Documentation
¶
Index ¶
- Constants
- func Contains(t *testing.T, str string, substr string)
- func Empty(t *testing.T, value any)
- func Equal(t *testing.T, expect any, get any)
- func EqualByFloat(t *testing.T, expect any, get any)
- func EqualByList(t *testing.T, expect any, get any)
- func EqualByTime(t *testing.T, expect any, get any)
- func Error(t *testing.T, err error)
- func False(t *testing.T, value bool)
- func Greater(t *testing.T, value any, expected any)
- func GreaterOrEqual(t *testing.T, value any, expected any)
- func In(t *testing.T, value any, collection any)
- func Len(t *testing.T, value any, length int)
- func Less(t *testing.T, value any, expected any)
- func LessOrEqual(t *testing.T, value any, expected any)
- func Nil(t *testing.T, value any)
- func NoError(t *testing.T, err error)
- func NotContains(t *testing.T, str string, substr string)
- func NotEmpty(t *testing.T, value any)
- func NotEqual(t *testing.T, notExpect any, get any)
- func NotIn(t *testing.T, value any, collection any)
- func NotNil(t *testing.T, value any)
- func NotPanics(t *testing.T, fn func())
- func Panics(t *testing.T, fn func())
- func Regexp(t *testing.T, str string, pattern string)
- func True(t *testing.T, value bool)
Constants ¶
View Source
const Default = 1
View Source
const Float = 2
View Source
const List = 4
View Source
const Time = 3
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.