aboutsummaryrefslogtreecommitdiffstats
path: root/tools/fuzz.go
diff options
context:
space:
mode:
Diffstat (limited to 'tools/fuzz.go')
-rw-r--r--tools/fuzz.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/fuzz.go b/tools/fuzz.go
index 2f980b3b89..d629096ed6 100644
--- a/tools/fuzz.go
+++ b/tools/fuzz.go
@@ -9,6 +9,7 @@ package fuzz
import (
"bytes"
+ "context"
"io"
"code.gitea.io/gitea/modules/markup"
@@ -25,6 +26,7 @@ import (
var (
renderContext = markup.RenderContext{
+ Ctx: context.Background(),
URLPrefix: "https://example.com/go-gitea/gitea",
Metas: map[string]string{
"user": "go-gitea",