diff options
Diffstat (limited to 'testrig/gin.go')
-rw-r--r-- | testrig/gin.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/testrig/gin.go b/testrig/gin.go index c14f79984..cd32654e8 100644 --- a/testrig/gin.go +++ b/testrig/gin.go @@ -27,7 +27,6 @@ import ( // CreateGinTextContext creates a new gin.Context suitable for a test, with an instantiated gin.Engine. func CreateGinTestContext(rw http.ResponseWriter, r *http.Request) (*gin.Context, *gin.Engine) { ctx, eng := gin.CreateTestContext(rw) - router.LoadTemplateFunctions(eng) if err := router.LoadTemplates(eng); err != nil { panic(err) } |