Documentation ¶
Index ¶
- func Equal(tb testing.TB, expected, actual interface{}) (success bool)
- func Error(tb testing.TB, err error) (success bool)
- func ErrorsContains(tb testing.TB, err error, substr string) (success bool)
- func ErrorsIs(tb testing.TB, err, target error) (success bool)
- func False(tb testing.TB, value bool) (success bool)
- func Nil(tb testing.TB, value interface{}) (success bool)
- func NoError(tb testing.TB, err error) (success bool)
- func NotEqual(tb testing.TB, expected, actual interface{}) (success bool)
- func NotNil(tb testing.TB, value interface{}) (success bool)
- func True(tb testing.TB, value bool) (success bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorsContains ¶
ErrorsContains asserts that err contains substr.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.