Documentation
¶
Index ¶
- func Assert(tb testing.TB, condition bool, msgAndArgs ...interface{})
- func Equals(tb testing.TB, expected, actual interface{}, msgAndArgs ...interface{})
- func Error(tb testing.TB, err error, msgAndArgs ...interface{})
- func ErrorType(tb testing.TB, err error, target error, msgAndArgs ...interface{})
- func Fail(tb testing.TB, err error)
- func JsonEqual(tb testing.TB, expected, actual []byte, msg ...interface{})
- func NotEquals(tb testing.TB, expected, actual interface{}, msgAndArgs ...interface{})
- func Success(tb testing.TB, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JsonEqual ¶
JsonEqual accepts two JSON-containing byte arrays and compares their content equality (rather than their byte equality). This allows ordering to be ignored
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.