1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-24 20:14:31 +02:00

fixed broken build

Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana 2015-04-02 20:22:16 -07:00
parent 92e7a6c72c
commit 5c60db4c27

View File

@ -29,7 +29,7 @@ func TestContext(t *testing.T) {
}
// Bind & JSON
if c.Bind(u) {
if err := c.Bind(u); err == nil {
c.JSON(http.StatusCreated, u)
}