Documentation ¶ Index ¶ func Error(t *testing.T, err error, expectedError error) func Redirect(t *testing.T, w *httptest.ResponseRecorder, uri string) func StatusCode(t *testing.T, w *httptest.ResponseRecorder, statusCode int) func StatusOK(t *testing.T, w *httptest.ResponseRecorder) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Error ¶ func Error(t *testing.T, err error, expectedError error) func Redirect ¶ func Redirect(t *testing.T, w *httptest.ResponseRecorder, uri string) func StatusCode ¶ func StatusCode(t *testing.T, w *httptest.ResponseRecorder, statusCode int) func StatusOK ¶ func StatusOK(t *testing.T, w *httptest.ResponseRecorder) Types ¶ This section is empty. Source Files ¶ View all Source files assert.go Click to show internal directories. Click to hide internal directories.