mirror of
https://github.com/gin-gonic/gin.git
synced 2026-01-07 23:03:11 +08:00
lint code
This commit is contained in:
parent
90c3fc422e
commit
1844d41494
@ -66,6 +66,7 @@ func TestDebugPrintRoutes(t *testing.T) {
|
||||
debugPrintRoute("GET", "/path/to/route/:param", HandlersChain{func(c *Context) {}, handlerNameTest})
|
||||
assert.Regexp(t, `^\[GIN-debug\] GET /path/to/route/:param --> (.*/vendor/)?github.com/gin-gonic/gin.handlerNameTest \(2 handlers\)\n$`, w.String())
|
||||
}
|
||||
|
||||
func TestDebugPrintLoadTemplate(t *testing.T) {
|
||||
var w bytes.Buffer
|
||||
setup(&w)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user