Documentation
¶
Index ¶
- func Contains(t TestingT, s, contains string, msgs ...any) bool
- func Empty(t TestingT, a any, msgs ...any) bool
- func Equal(t TestingT, w, a any, msgs ...any) bool
- func EqualError(t TestingT, err error, want string, msgs ...any) bool
- func Error(t TestingT, err error, msgs ...any) bool
- func Fail(t TestingT, format string, args ...any) bool
- func False(t TestingT, value bool, msgs ...any) bool
- func Len(t TestingT, a any, length int, msgs ...any) bool
- func Nil(t TestingT, a any, msgs ...any) bool
- func NoError(t TestingT, err error, msgs ...any) bool
- func NotContains(t TestingT, s, contains string, msgs ...any) bool
- func NotEqual(t TestingT, w, a any, msgs ...any) bool
- func NotNil(t TestingT, a any, msgs ...any) bool
- func NotPanics(t TestingT, f func()) bool
- func Panics(t TestingT, f func()) bool
- func PanicsWithValue(t TestingT, val any, f func()) bool
- func Regexp(t TestingT, p string, a string) bool
- func True(t TestingT, value bool, msgs ...any) bool
- func Zero(t TestingT, a any, msgs ...any) bool
- type TestingT
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PanicsWithValue ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.