Documentation ¶
Index ¶
- func Contains(expression string, expected interface{}, data io.Reader) error
- func Equal(expression string, expected interface{}, data io.Reader) error
- func GreaterThan(expression string, minimumLength int, data io.Reader) error
- func IncludesElement(list interface{}, element interface{}) (ok, found bool)
- func JsonPath(reader io.Reader, expression string) (interface{}, error)
- func Length(expression string, expectedLength int, data io.Reader) error
- func LessThan(expression string, maximumLength int, data io.Reader) error
- func NotEqual(expression string, expected interface{}, data io.Reader) error
- func NotPresent(expression string, data io.Reader) error
- func ObjectsAreEqual(expected, actual interface{}) bool
- func Present(expression string, data io.Reader) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IncludesElement ¶
func IncludesElement(list interface{}, element interface{}) (ok, found bool)
courtesy of github.com/stretchr/testify
func ObjectsAreEqual ¶
func ObjectsAreEqual(expected, actual interface{}) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.