Documentation ¶
Index ¶
- func EvalErr(t *testing.T, err error, data interface{}, shouldErr bool, expErr error) bool
- func EvalErrWithLog(t *testing.T, err error, data interface{}, shouldErr bool, expErr error, ...) bool
- func EvalObjects(t *testing.T, name string, want, got interface{})
- func EvalObjectsWithLog(t *testing.T, name string, want, got interface{}, msgs []string)
- func TempDir(s string) (string, error)
- func WriteLog(t *testing.T, msgs []string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EvalErrWithLog ¶
func EvalErrWithLog(t *testing.T, err error, data interface{}, shouldErr bool, expErr error, msgs []string) bool
EvalErrWithLog evaluates the error.
func EvalObjects ¶
EvalObjects compares two objects.
func EvalObjectsWithLog ¶
EvalObjectsWithLog compares two objects and logs extra output when detects an error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.