1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Upgrade Go 1.22 and upgrade dependency (#29869)

This commit is contained in:
wxiaoguang
2024-03-17 23:40:05 +08:00
committed by GitHub
parent 099052aba5
commit abb330e613
8 changed files with 265 additions and 589 deletions

View File

@@ -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{