Browse Source

docs(test): add missing inline docs

Javier Provecho Fernandez 8 years ago
parent
commit
92ddc7d240
1 changed files with 1 additions and 0 deletions
  1. 1 0
      test_helpers.go

+ 1 - 0
test_helpers.go

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