Skip to content

Commit

Permalink
fixed broken build
Browse files Browse the repository at this point in the history
Signed-off-by: Vishal Rana <[email protected]>
  • Loading branch information
vishr committed Apr 3, 2015
1 parent 92e7a6c commit 5c60db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion context_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 5c60db4

Please sign in to comment.