assert

package
v0.0.0-...-6303911 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AcceptHeaderIs

func AcceptHeaderIs(req *http.Request, expectedAcceptHeader string, t *testing.T)

func ContentTypeIs

func ContentTypeIs(req *http.Request, expectedContentType string, t *testing.T)

func Equals

func Equals(given interface{}, expected interface{}, t *testing.T)

func HTTPBodyContains

func HTTPBodyContains(req *http.Request, expectedBody string, t *testing.T)

func HttpMethodIs

func HttpMethodIs(req *http.Request, expectedMethod string, t *testing.T)

func Nil

func Nil(i interface{}, t *testing.T)

func NoError

func NoError(err error, t *testing.T, msg string)

func NotNil

func NotNil(i interface{}, t *testing.T)

func UrlPathIs

func UrlPathIs(req *http.Request, expectedPath string, t *testing.T)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL