aboutsummaryrefslogtreecommitdiffstats
path: root/services/webhook
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2024-03-17 23:40:05 +0800
committerGitHub <noreply@github.com>2024-03-17 15:40:05 +0000
commitabb330e6139c37f3c1d84b30625c1f5495a4eb49 (patch)
tree8f6df20df4e251b64ef3638fcbf7921d90ebec96 /services/webhook
parent099052aba5bfa3a0a700d88d2e2891ae99f151ce (diff)
downloadgitea-abb330e6139c37f3c1d84b30625c1f5495a4eb49.tar.gz
gitea-abb330e6139c37f3c1d84b30625c1f5495a4eb49.zip
Upgrade Go 1.22 and upgrade dependency (#29869)
Diffstat (limited to 'services/webhook')
-rw-r--r--services/webhook/deliver_test.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/services/webhook/deliver_test.go b/services/webhook/deliver_test.go
index 85de1f9904..bb8092831f 100644
--- a/services/webhook/deliver_test.go
+++ b/services/webhook/deliver_test.go
@@ -259,7 +259,6 @@ func TestWebhookDeliverSpecificTypes(t *testing.T) {
for typ := range cases {
cases[typ].gotBody = make(chan []byte, 1)
- typ := typ // TODO: remove this workaround when Go >= 1.22
t.Run(typ, func(t *testing.T) {
t.Parallel()
hook := &webhook_model.Webhook{