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