Documentation
¶
Index ¶
- func Equal(t *testing.T, expected, actual interface{})
- func HTTPBodyContainsf(t *testing.T, handler http.HandlerFunc, method, urlStr string, ...)
- func HTTPBodyNotContainsf(t *testing.T, handler http.HandlerFunc, method, urlStr string, ...)
- func Nil(t *testing.T, value interface{})
- func NotNil(t *testing.T, value interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPBodyContainsf ¶
func HTTPBodyContainsf(t *testing.T, handler http.HandlerFunc, method, urlStr string, values url.Values, expected string, msgAndArgs ...interface{})
HTTPBodyContainsf sends a request through handler and checks that the response body contains the expected substring.
func HTTPBodyNotContainsf ¶
func HTTPBodyNotContainsf(t *testing.T, handler http.HandlerFunc, method, urlStr string, values url.Values, expected string, msgAndArgs ...interface{})
HTTPBodyNotContainsf sends a request through handler and checks that the response body does not contain the expected substring.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.