(t *testing.T)
| 217 | } |
| 218 | |
| 219 | func TestHttpBodyWrappers(t *testing.T) { |
| 220 | t.Parallel() |
| 221 | |
| 222 | assert := New(t) |
| 223 | mockAssert := New(new(testing.T)) |
| 224 | |
| 225 | assert.True(mockAssert.HTTPBodyContains(httpHelloName, "GET", "/", url.Values{"name": []string{"World"}}, "Hello, World!")) |
| 226 | assert.True(mockAssert.HTTPBodyContains(httpHelloName, "GET", "/", url.Values{"name": []string{"World"}}, "World")) |
| 227 | assert.False(mockAssert.HTTPBodyContains(httpHelloName, "GET", "/", url.Values{"name": []string{"World"}}, "world")) |
| 228 | |
| 229 | assert.False(mockAssert.HTTPBodyNotContains(httpHelloName, "GET", "/", url.Values{"name": []string{"World"}}, "Hello, World!")) |
| 230 | assert.False(mockAssert.HTTPBodyNotContains(httpHelloName, "GET", "/", url.Values{"name": []string{"World"}}, "World")) |
| 231 | assert.True(mockAssert.HTTPBodyNotContains(httpHelloName, "GET", "/", url.Values{"name": []string{"World"}}, "world")) |
| 232 | } |
nothing calls this directly
no test coverage detected