diff --git a/debug_test.go b/debug_test.go index 198ffc84..a402ba7e 100644 --- a/debug_test.go +++ b/debug_test.go @@ -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)