Plural is "Paths", not "Pathes" (#1706)

This commit is contained in:
Sai
2018-12-20 18:54:08 +09:00
committed by thinkerou
parent 1542eff27f
commit 678e09c736
2 changed files with 7 additions and 7 deletions

View File

@ -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) {})