Rename to conform with test files naming (closes #580)

This commit is contained in:
Miki Tebeka
2016-04-07 07:33:28 +03:00
parent 233291e4e2
commit 2fd607be4c

View File

@ -1,14 +0,0 @@
package gin
import (
"net/http/httptest"
)
func CreateTestContext() (c *Context, w *httptest.ResponseRecorder, r *Engine) {
w = httptest.NewRecorder()
r = New()
c = r.allocateContext()
c.reset()
c.writermem.reset(w)
return
}