feat: vendor gitea 1.16.2

This commit is contained in:
2026-06-02 08:36:01 +00:00
parent 247cd60f69
commit 54798b4615
2145 changed files with 162965 additions and 126447 deletions
@@ -11,7 +11,7 @@ import (
)
func TestCallerFuncName(t *testing.T) {
s := CallerFuncName(1)
s := CallerFuncName()
assert.Equal(t, "code.gitea.io/gitea/modules/util.TestCallerFuncName", s)
}
@@ -26,7 +26,7 @@ func BenchmarkCallerFuncName(b *testing.B) {
// It is almost as fast as fmt.Sprintf
b.Run("caller", func(b *testing.B) {
for b.Loop() {
CallerFuncName(1)
CallerFuncName()
}
})
}