View definition

(*Assertions).HTTPBodyNotContains

Defined in github.com/stretchr/testify/assert/assertion_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 2 repositories

github.com/stretchr/testify github.com/solher/zest