(t *testing.T)
| 201 | } |
| 202 | |
| 203 | func TestHttpBodyWrappers(t *testing.T) { |
| 204 | assert := New(t) |
| 205 | mockAssert := New(new(testing.T)) |
| 206 | |
| 207 | assert.True(mockAssert.HTTPBodyContains(httpHelloName, "GET", "/", url.Values{"name": []string{"World"}}, "Hello, World!")) |
| 208 | assert.True(mockAssert.HTTPBodyContains(httpHelloName, "GET", "/", url.Values{"name": []string{"World"}}, "World")) |
| 209 | assert.False(mockAssert.HTTPBodyContains(httpHelloName, "GET", "/", url.Values{"name": []string{"World"}}, "world")) |
| 210 | |
| 211 | assert.False(mockAssert.HTTPBodyNotContains(httpHelloName, "GET", "/", url.Values{"name": []string{"World"}}, "Hello, World!")) |
| 212 | assert.False(mockAssert.HTTPBodyNotContains(httpHelloName, "GET", "/", url.Values{"name": []string{"World"}}, "World")) |
| 213 | assert.True(mockAssert.HTTPBodyNotContains(httpHelloName, "GET", "/", url.Values{"name": []string{"World"}}, "world")) |
| 214 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…