Documentation ¶
Overview ¶
Package internal is for internal use.
Index ¶
- func JoinError(errs ...error) error
- type Assert
- func (a *Assert) Equal(expected, actual any)
- func (a *Assert) EqualValues(expected, actual any)
- func (a *Assert) Greater(expected, actual any)
- func (a *Assert) GreaterOrEqual(expected, actual any)
- func (a *Assert) IsNil(v any)
- func (a *Assert) IsNotNil(v any)
- func (a *Assert) Less(expected, actual any)
- func (a *Assert) LessOrEqual(expected, actual any)
- func (a *Assert) NotEqual(expected, actual any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JoinError ¶ added in v2.1.17
Join returns an error that wraps the given errors. Any nil error values are discarded. Join returns nil if errs contains no non-nil values. The error formats as the concatenation of the strings obtained by calling the Error method of each element of errs, with a newline between each string.
Types ¶
type Assert ¶
Assert is a simple implementation of assertion, only for internal usage
func (*Assert) EqualValues ¶ added in v2.1.19
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) GreaterOrEqual ¶
GreaterOrEqual check if expected is greate than or equal with actual
func (*Assert) LessOrEqual ¶
LessOrEqual check if expected is less than or equal with actual