1
0
mirror of https://github.com/labstack/echo.git synced 2025-03-17 21:08:05 +02:00

additional missing file save

This commit is contained in:
Chase Hutchins 2016-01-29 04:19:44 -08:00
parent 58edee2270
commit 4ad737c418

View File

@ -285,7 +285,7 @@ func testBind(t *testing.T, c *Context, ct string) {
u := new(user)
err := c.Bind(u)
if ct == "" {
assert.Error(t, UnsupportedMediaType)
assert.Error(t, ErrUnsupportedMediaType)
} else if assert.NoError(t, err) {
assert.Equal(t, "1", u.ID)
assert.Equal(t, "Joe", u.Name)