Documentation ¶
Index ¶
- func DeepEqual(tb assertions.AssertionTestingTB, expected, actual interface{}, ...)
- func Equal(tb assertions.AssertionTestingTB, expected, actual interface{}, ...)
- func ErrorContains(tb assertions.AssertionTestingTB, want string, err error, msg ...interface{})
- func NoError(tb assertions.AssertionTestingTB, err error, msg ...interface{})
- func NotEqual(tb assertions.AssertionTestingTB, expected, actual interface{}, ...)
- func NotNil(tb assertions.AssertionTestingTB, obj interface{}, msg ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeepEqual ¶
func DeepEqual(tb assertions.AssertionTestingTB, expected, actual interface{}, msg ...interface{})
DeepEqual compares values using DeepEqual.
func Equal ¶
func Equal(tb assertions.AssertionTestingTB, expected, actual interface{}, msg ...interface{})
Equal compares values using comparison operator.
func ErrorContains ¶
func ErrorContains(tb assertions.AssertionTestingTB, want string, err error, msg ...interface{})
ErrorContains asserts that actual error contains wanted message.
func NoError ¶
func NoError(tb assertions.AssertionTestingTB, err error, msg ...interface{})
NoError asserts that error is nil.
func NotEqual ¶
func NotEqual(tb assertions.AssertionTestingTB, expected, actual interface{}, msg ...interface{})
NotEqual compares values using comparison operator.
func NotNil ¶
func NotNil(tb assertions.AssertionTestingTB, obj interface{}, msg ...interface{})
NotNil asserts that passed value is not nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.