diff options
author | techknowlogick <techknowlogick@gitea.io> | 2020-08-27 22:47:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-27 22:47:17 -0400 |
commit | c5d5d63c9cb28b45d936c937388a3668523857a3 (patch) | |
tree | 86f2a89c89c1a9f9a9dcd5e225d512caedb26923 /modules/test | |
parent | 211321fb936683815c4033fdfb9ac46af8a3b357 (diff) | |
download | gitea-c5d5d63c9cb28b45d936c937388a3668523857a3.tar.gz gitea-c5d5d63c9cb28b45d936c937388a3668523857a3.zip |
Macaron 1.5 (#12596)
* update macaron to v1.5 of fork
* update macaron to v1.5 of fork
* test gzip PR
* add push method impl to context_tests
* use proper gzip commit
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'modules/test')
-rw-r--r-- | modules/test/context_tests.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/test/context_tests.go b/modules/test/context_tests.go index af47369ee1..874d7db196 100644 --- a/modules/test/context_tests.go +++ b/modules/test/context_tests.go @@ -117,6 +117,10 @@ func (rw *mockResponseWriter) Before(b macaron.BeforeFunc) { b(rw) } +func (rw *mockResponseWriter) Push(target string, opts *http.PushOptions) error { + return nil +} + type mockRender struct { http.ResponseWriter } |