We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92e7a6c commit 5c60db4Copy full SHA for 5c60db4
context_test.go
@@ -29,7 +29,7 @@ func TestContext(t *testing.T) {
29
}
30
31
// Bind & JSON
32
- if c.Bind(u) {
+ if err := c.Bind(u); err == nil {
33
c.JSON(http.StatusCreated, u)
34
35
0 commit comments