func HTTPErrorf(t TestingT, handler http.HandlerFunc, method string, url string, values url.Values) bool {
	return HTTPError(t, handler, method, url, values)
}
HTTPErrorf asserts that a specified handler returns an error status code.

assert.HTTPErrorf(t, myHandler, "POST", "/a/b/c", url.Values{"a": []string{"b", "c"}}

Returns whether the assertion was successful (true, "error message %s", "formatted") or not (false).
package assert
import (
	http "net/http"
	url "net/url"
	time "time"
)
func Conditionf(t TestingT, comp Comparison, msg string, args ...interface{}) bool {
	return Condition(t, comp, append([]interface{}{msg}, args...)...)
}
func Containsf(t TestingT, s interface{}, contains interface{}, msg string, args ...interface{}) bool {
	return Contains(t, s, contains, append([]interface{}{msg}, args...)...)
}
func Emptyf(t TestingT, object interface{}, msg string, args ...interface{}) bool {
	return Empty(t, object, append([]interface{}{msg}, args...)...)
}
func Equalf(t TestingT, expected interface{}, actual interface{}, msg string, args ...interface{}) bool {
	return Equal(t, expected, actual, append([]interface{}{msg}, args...)...)
}
func EqualErrorf(t TestingT, theError error, errString string, msg string, args ...interface{}) bool {
	return EqualError(t, theError, errString, append([]interface{}{msg}, args...)...)
}
func EqualValuesf(t TestingT, expected interface{}, actual interface{}, msg string, args ...interface{}) bool {
	return EqualValues(t, expected, actual, append([]interface{}{msg}, args...)...)
}
func Errorf(t TestingT, err error, msg string, args ...interface{}) bool {
	return Error(t, err, append([]interface{}{msg}, args...)...)
}
func Exactlyf(t TestingT, expected interface{}, actual interface{}, msg string, args ...interface{}) bool {
	return Exactly(t, expected, actual, append([]interface{}{msg}, args...)...)
}
func Failf(t TestingT, failureMessage string, msg string, args ...interface{}) bool {
	return Fail(t, failureMessage, append([]interface{}{msg}, args...)...)
}
func FailNowf(t TestingT, failureMessage string, msg string, args ...interface{}) bool {
	return FailNow(t, failureMessage, append([]interface{}{msg}, args...)...)
}
func Falsef(t TestingT, value bool, msg string, args ...interface{}) bool {
	return False(t, value, append([]interface{}{msg}, args...)...)
}
func HTTPBodyContainsf(t TestingT, handler http.HandlerFunc, method string, url string, values url.Values, str interface{}) bool {
	return HTTPBodyContains(t, handler, method, url, values, str)
}
func HTTPBodyNotContainsf(t TestingT, handler http.HandlerFunc, method string, url string, values url.Values, str interface{}) bool {
	return HTTPBodyNotContains(t, handler, method, url, values, str)
}