From 4ad737c418bea86590248cb62c2b46b97e6f5cc5 Mon Sep 17 00:00:00 2001 From: Chase Hutchins Date: Fri, 29 Jan 2016 04:19:44 -0800 Subject: [PATCH] additional missing file save --- context_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/context_test.go b/context_test.go index 04f4ea8f..1185496f 100644 --- a/context_test.go +++ b/context_test.go @@ -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)