mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-10 10:44:06 +09:00
Run gopls modernize
on codebase (#34751)
Recent modernize fixes: https://github.com/golang/tools/commits/master/gopls/internal/analysis/modernize
This commit is contained in:
@ -29,7 +29,7 @@ func TestCheckUnadoptedRepositories_Add(t *testing.T) {
|
||||
}
|
||||
|
||||
total := 30
|
||||
for i := 0; i < total; i++ {
|
||||
for range total {
|
||||
unadopted.add("something")
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user