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
+2 -2
View File
@@ -244,7 +244,7 @@ func BenchmarkElementsCollectorWriter(b *testing.B) {
</body>
</html>
`
for i := 0; i < b.N; i++ {
for b.Loop() {
w := newHTMLElementsCollectorWriter(newHTMLElementsCollector(
config.BuildStats{Enable: true},
))
@@ -272,7 +272,7 @@ func BenchmarkElementsCollectorWriterPre(b *testing.B) {
w := newHTMLElementsCollectorWriter(newHTMLElementsCollector(
config.BuildStats{Enable: true},
))
for i := 0; i < b.N; i++ {
for b.Loop() {
fmt.Fprint(w, benchHTML)
}
}