mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +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:
		| @@ -110,7 +110,7 @@ func Test_NewColumn(t *testing.T) { | ||||
| 	assert.NoError(t, err) | ||||
| 	assert.Len(t, columns, 3) | ||||
|  | ||||
| 	for i := 0; i < maxProjectColumns-3; i++ { | ||||
| 	for i := range maxProjectColumns - 3 { | ||||
| 		err := NewColumn(db.DefaultContext, &Column{ | ||||
| 			Title:     fmt.Sprintf("column-%d", i+4), | ||||
| 			ProjectID: project1.ID, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user