diff --git a/echo_test.go b/echo_test.go index 17c64f85..294a412f 100644 --- a/echo_test.go +++ b/echo_test.go @@ -457,7 +457,7 @@ func request(method, path string, e *Echo) (int, string) { } func TestHTTPError(t *testing.T) { - err := NewHTTPError(400, map[string]interface{}{ + err := NewHTTPError(http.StatusBadRequest, map[string]interface{}{ "code": 12, }) assert.Equal(t, "code=400, message=map[code:12]", err.Error())