diff options
Diffstat (limited to 'routers/api/v1')
-rw-r--r-- | routers/api/v1/misc/markdown_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/api/v1/misc/markdown_test.go b/routers/api/v1/misc/markdown_test.go index 349498e2ab..9beb88be16 100644 --- a/routers/api/v1/misc/markdown_test.go +++ b/routers/api/v1/misc/markdown_test.go @@ -37,6 +37,8 @@ func createContext(req *http.Request) (*context.Context, *httptest.ResponseRecor Render: rnd, Data: make(map[string]interface{}), } + defer c.Close() + return c, resp } |