mirror of
https://github.com/gin-gonic/gin.git
synced 2025-08-24 16:01:46 +08:00
Plural is "Paths", not "Pathes" (#1706)
This commit is contained in:
@ -320,8 +320,8 @@ func TestLoggerWithConfigSkippingPaths(t *testing.T) {
|
||||
buffer := new(bytes.Buffer)
|
||||
router := New()
|
||||
router.Use(LoggerWithConfig(LoggerConfig{
|
||||
Output: buffer,
|
||||
SkipPathes: []string{"/skipped"},
|
||||
Output: buffer,
|
||||
SkipPaths: []string{"/skipped"},
|
||||
}))
|
||||
router.GET("/logged", func(c *Context) {})
|
||||
router.GET("/skipped", func(c *Context) {})
|
||||
|
Reference in New Issue
Block a user