docs(test): add missing inline docs

This commit is contained in:
Javier Provecho Fernandez 2017-07-02 17:06:53 +02:00
parent 484acfc303
commit 92ddc7d240
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ import (
"net/http" "net/http"
) )
// CreateTestContext returns a fresh engine and context for testing purposes
func CreateTestContext(w http.ResponseWriter) (c *Context, r *Engine) { func CreateTestContext(w http.ResponseWriter) (c *Context, r *Engine) {
r = New() r = New()
c = r.allocateContext() c = r.allocateContext()