Documentation ¶
Overview ¶
Package internal is for internal use.
Index ¶
- type Assert
- func (a *Assert) Equal(expected, actual interface{})
- func (a *Assert) EqualValues(expected, actual interface{})
- func (a *Assert) Greater(expected, actual interface{})
- func (a *Assert) GreaterOrEqual(expected, actual interface{})
- func (a *Assert) IsNil(value interface{})
- func (a *Assert) IsNotNil(value interface{})
- func (a *Assert) Less(expected, actual interface{})
- func (a *Assert) LessOrEqual(expected, actual interface{})
- func (a *Assert) NotEqual(expected, actual interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Assert ¶ added in v1.1.9
Assert is a simple implementation of assertion, only for internal usage
func (*Assert) Equal ¶ added in v1.1.9
func (a *Assert) Equal(expected, actual interface{})
Equal check if expected is equal with actual
func (*Assert) EqualValues ¶ added in v1.3.9
func (a *Assert) EqualValues(expected, actual interface{})
EqualValues asserts that two objects are equal or convertable to the same types and equal. https://github.com/stretchr/testify/assert/assertions.go
func (*Assert) Greater ¶ added in v1.1.9
func (a *Assert) Greater(expected, actual interface{})
Greater check if expected is greate than actual
func (*Assert) GreaterOrEqual ¶ added in v1.1.9
func (a *Assert) GreaterOrEqual(expected, actual interface{})
GreaterOrEqual check if expected is greate than or equal with actual
func (*Assert) IsNil ¶ added in v1.1.9
func (a *Assert) IsNil(value interface{})
IsNil check if value is nil
func (*Assert) IsNotNil ¶ added in v1.1.9
func (a *Assert) IsNotNil(value interface{})
IsNotNil check if value is not nil
func (*Assert) Less ¶ added in v1.1.9
func (a *Assert) Less(expected, actual interface{})
Less check if expected is less than actual
func (*Assert) LessOrEqual ¶ added in v1.1.9
func (a *Assert) LessOrEqual(expected, actual interface{})
LessOrEqual check if expected is less than or equal with actual
Click to show internal directories.
Click to hide internal directories.