chore: update some code style (#2356)

This commit is contained in:
thinkerou
2020-05-05 13:55:57 +08:00
committed by GitHub
parent 54175dbe72
commit 6ac7f194c4
5 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -514,7 +514,7 @@ func TestMiddlewareCalledOnceByRouterStaticFSNotFound(t *testing.T) {
// Middleware must be called just only once by per request.
middlewareCalledNum := 0
router.Use(func(c *Context) {
middlewareCalledNum += 1
middlewareCalledNum++
})
router.StaticFS("/", http.FileSystem(http.Dir("/thisreallydoesntexist/")))