Documentation ¶
Overview ¶
Package test has functions to help commons asserts
Index ¶
- func AssertBodyContains(t *testing.T, bodyReader io.Reader, expectedMsg string)
- func AssertBodyContainsStruct(t *testing.T, bodyReader io.Reader, expectedMsg interface{})
- func AssertContains(t *testing.T, s, substr string)
- func AssertEqual(t *testing.T, obj1 interface{}, obj2 interface{})
- func AssertNoError(t *testing.T, err error)
- func AssertNotNil(t *testing.T, value interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertBodyContains ¶
func AssertContains ¶
func AssertEqual ¶
func AssertNoError ¶
func AssertNotNil ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.