mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	format with gofumpt (#18184)
* gofumpt -w -l . * gofumpt -w -l -extra . * Add linter * manual fix * change make fmt
This commit is contained in:
		@@ -36,7 +36,7 @@ func TestPaginateSlice(t *testing.T) {
 | 
			
		||||
		Val int
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	var testVar = []*Test{{Val: 2}, {Val: 3}, {Val: 4}}
 | 
			
		||||
	testVar := []*Test{{Val: 2}, {Val: 3}, {Val: 4}}
 | 
			
		||||
	testVar, ok = PaginateSlice(testVar, 1, 50).([]*Test)
 | 
			
		||||
	assert.True(t, ok)
 | 
			
		||||
	assert.EqualValues(t, []*Test{{Val: 2}, {Val: 3}, {Val: 4}}, testVar)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user