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:
parent
92e7a6c72c
commit
5c60db4c27
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user