Documentation ¶
Index ¶
- Variables
- func Equal(t tassert.TestingT, expected, actual interface{}, msgAndArgs ...interface{}) bool
- func Error(t tassert.TestingT, err error, msgAndArgs ...interface{}) bool
- func NoError(t tassert.TestingT, err error, msgAndArgs ...interface{}) bool
- func NoPanic(t tassert.TestingT, f func())
- func NotEqual(t tassert.TestingT, expected, actual interface{}, msgAndArgs ...interface{}) bool
- func NotNil(t tassert.TestingT, object interface{}, msgAndArgs ...interface{}) bool
- func Panic(t tassert.TestingT, f func())
- func True(t tassert.TestingT, value bool, msgAndArgs ...interface{}) bool
- func WantError(t tassert.TestingT, want bool, err error, msgAndArgs ...interface{}) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrMock = errors.New("an error")
)
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.