mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-03 20:36:07 +01:00 
			
		
		
		
	format with gofumpt (#18184)
* gofumpt -w -l . * gofumpt -w -l -extra . * Add linter * manual fix * change make fmt
This commit is contained in:
		@@ -14,7 +14,6 @@ import (
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
func BenchmarkGetCommitGraph(b *testing.B) {
 | 
			
		||||
 | 
			
		||||
	currentRepo, err := git.OpenRepository(".")
 | 
			
		||||
	if err != nil || currentRepo == nil {
 | 
			
		||||
		b.Error("Could not open repository")
 | 
			
		||||
@@ -255,7 +254,6 @@ func TestCommitStringParsing(t *testing.T) {
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	for _, test := range tests {
 | 
			
		||||
 | 
			
		||||
		t.Run(test.testName, func(t *testing.T) {
 | 
			
		||||
			testString := fmt.Sprintf("%s%s", dataFirstPart, test.commitMessage)
 | 
			
		||||
			idx := strings.Index(testString, "DATA:")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user