chore(commitserver): Fix modernize linter (#26327)

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
Matthieu MOREL 2026-02-09 11:45:44 +01:00 committed by GitHub
parent 34eeede822
commit ac83f1d8da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,7 +35,7 @@ func TestAddNoteConcurrentStaggered(t *testing.T) {
// Create separate clones for concurrent operations
cloneClients := make([]git.Client, 3)
for i := 0; i < 3; i++ {
for i := range 3 {
cloneClients[i] = getClientForClone(t, remotePath)
}
@ -43,7 +43,7 @@ func TestAddNoteConcurrentStaggered(t *testing.T) {
var wg sync.WaitGroup
errors := make([]error, 3)
for i := 0; i < 3; i++ {
for i := range 3 {
wg.Add(1)
go func(idx int) {
defer wg.Done()
@ -81,7 +81,7 @@ func TestAddNoteConcurrentSimultaneous(t *testing.T) {
// Create separate clones for concurrent operations
cloneClients := make([]git.Client, 3)
for i := 0; i < 3; i++ {
for i := range 3 {
cloneClients[i] = getClientForClone(t, remotePath)
}
@ -89,7 +89,7 @@ func TestAddNoteConcurrentSimultaneous(t *testing.T) {
var wg sync.WaitGroup
startChan := make(chan struct{})
for i := 0; i < 3; i++ {
for i := range 3 {
wg.Add(1)
go func(idx int) {
defer wg.Done()