mirror of
https://github.com/gin-gonic/gin.git
synced 2025-05-17 15:37:29 +08:00
fix errcheck warnings (#1739)
This commit is contained in:

committed by
thinkerou

parent
29a145c85d
commit
b056a34bdc
@ -338,7 +338,7 @@ func TestBindUriError(t *testing.T) {
|
||||
}
|
||||
router.Handle("GET", "/new/rest/:num", func(c *Context) {
|
||||
var m Member
|
||||
c.BindUri(&m)
|
||||
assert.Error(t, c.BindUri(&m))
|
||||
})
|
||||
|
||||
path1, _ := exampleFromPath("/new/rest/:num")
|
||||
|
Reference in New Issue
Block a user