summaryrefslogtreecommitdiffstats
path: root/modules/httpcache
diff options
context:
space:
mode:
Diffstat (limited to 'modules/httpcache')
-rw-r--r--modules/httpcache/httpcache_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/httpcache/httpcache_test.go b/modules/httpcache/httpcache_test.go
index 68ac892c91..49e54d147e 100644
--- a/modules/httpcache/httpcache_test.go
+++ b/modules/httpcache/httpcache_test.go
@@ -15,8 +15,7 @@ import (
"github.com/stretchr/testify/assert"
)
-type mockFileInfo struct {
-}
+type mockFileInfo struct{}
func (m mockFileInfo) Name() string { return "gitea.test" }
func (m mockFileInfo) Size() int64 { return int64(10) }