all: Run modernize -fix ./...

Closes #14107
This commit is contained in:
Bjørn Erik Pedersen
2025-11-05 20:41:17 +01:00
parent 264022a75a
commit 04650ce778
122 changed files with 275 additions and 351 deletions
@@ -280,8 +280,8 @@ func BenchmarkShortcodeLexer(b *testing.B) {
testInputs[i] = []byte(input.input)
}
var cfg Config
b.ResetTimer()
for i := 0; i < b.N; i++ {
for b.Loop() {
for _, input := range testInputs {
_, err := collectWithConfig(input, true, lexMainSection, cfg)
if err != nil {