Skip to content

Commit 5c60db4

Browse files
committed
fixed broken build
Signed-off-by: Vishal Rana <vr@labstack.com>
1 parent 92e7a6c commit 5c60db4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

context_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func TestContext(t *testing.T) {
2929
}
3030

3131
// Bind & JSON
32-
if c.Bind(u) {
32+
if err := c.Bind(u); err == nil {
3333
c.JSON(http.StatusCreated, u)
3434
}
3535

0 commit comments

Comments
 (0)