Documentation
¶
Index ¶
- func Empty(t *testing.T, obj interface{}, msg ...string) bool
- func Equal(t *testing.T, expected interface{}, actual interface{}, msg ...string) bool
- func EqualError(t *testing.T, actual error, expected string, msg ...string) bool
- func Error(t *testing.T, err error, msg ...string) bool
- func False(t *testing.T, actual bool, msg ...string) bool
- func Len(t *testing.T, obj interface{}, len int, msg ...string) bool
- func Nil(t *testing.T, obj interface{}, msg ...string) bool
- func NoError(t *testing.T, err error, msg ...string) bool
- func NotEmpty(t *testing.T, obj interface{}, msg ...string) bool
- func NotEqual(t *testing.T, expected interface{}, actual interface{}, msg ...string) bool
- func NotNil(t *testing.T, obj interface{}, msg ...string) bool
- func Panics(t *testing.T, fn assert.PanicTestFunc, msg ...string) bool
- func True(t *testing.T, actual bool, msg ...string) bool
- type Name
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EqualError ¶
EqualError asserts equality between two errors.
Types ¶
Click to show internal directories.
Click to hide internal directories.