mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 19:38:23 +00: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:
		| @@ -204,7 +204,7 @@ func TestIncludesAllRepositoriesTeams(t *testing.T) { | ||||
|  | ||||
| 	// Create repos. | ||||
| 	repoIDs := make([]int64, 0) | ||||
| 	for i := 0; i < 3; i++ { | ||||
| 	for i := range 3 { | ||||
| 		r, err := repo_service.CreateRepositoryDirectly(db.DefaultContext, user, org.AsUser(), | ||||
| 			repo_service.CreateRepoOptions{Name: fmt.Sprintf("repo-%d", i)}, true) | ||||
| 		assert.NoError(t, err, "CreateRepository %d", i) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user