summaryrefslogtreecommitdiffstats
path: root/modules/util/paginate_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/util/paginate_test.go')
-rw-r--r--modules/util/paginate_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/util/paginate_test.go b/modules/util/paginate_test.go
index d962e04c16..3657efc919 100644
--- a/modules/util/paginate_test.go
+++ b/modules/util/paginate_test.go
@@ -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)