mirror of
https://github.com/gin-gonic/gin.git
synced 2026-09-04 14:49:27 +08:00
fix: rename unused parameter to underscore in test
This commit is contained in:
parent
c7a67900ae
commit
a21dccc276
@ -11,7 +11,7 @@ func TestHandleMethodNotAllowedSkippedNodesPanic(t *testing.T) {
|
||||
router := New()
|
||||
router.HandleMethodNotAllowed = true
|
||||
|
||||
h := func(c *Context) {}
|
||||
h := func(_ *Context) {}
|
||||
router.OPTIONS("/:p0/:p1/a/:p2", h)
|
||||
router.GET("/:p0/:p1/a/:p2", h)
|
||||
router.PATCH("/b/:p0/:p1/c", h)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user