View definition

(*Assertions).HTTPBodyNotContains

Defined in github.com/stretchr/testify/require/require_forward.go

Description

HTTPBodyNotContains asserts that a specified handler returns a body that does not contain a string.

a.HTTPBodyNotContains(myHandler, "www.google.com", nil, "I'm Feeling Lucky")

Returns whether the assertion was successful (true) or not (false).

HTTPBodyNotContains is referenced in 0 repositories