Skip to content
Myr

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

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Miki Tebeka · committed by Miki Tebeka · parent 233291e · Browse files · 2 files+14 added−14 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+14 added−14 removed

  • other:+14 added−14 removed

2 files+14 added−14 removed

added:helpers_test.go+14 added
1package gin23import (4 "net/http/httptest"5)67func CreateTestContext() (c *Context, w *httptest.ResponseRecorder, r *Engine) {8 w = httptest.NewRecorder()9 r = New()10 c = r.allocateContext()11 c.reset()12 c.writermem.reset(w)13 return14}
deleted:test_helpers.go-14 removed
1package gin23import (4 "net/http/httptest"5)67func CreateTestContext() (c *Context, w *httptest.ResponseRecorder, r *Engine) {8 w = httptest.NewRecorder()9 r = New()10 c = r.allocateContext()11 c.reset()12 c.writermem.reset(w)13 return14}