aboutsummaryrefslogtreecommitdiffstats
path: root/routers/repo/wiki_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/repo/wiki_test.go')
-rw-r--r--routers/repo/wiki_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/wiki_test.go b/routers/repo/wiki_test.go
index 4b28a5af86..8934a6619f 100644
--- a/routers/repo/wiki_test.go
+++ b/routers/repo/wiki_test.go
@@ -64,7 +64,7 @@ func assertPagesMetas(t *testing.T, expectedNames []string, metas interface{}) {
if !assert.True(t, ok) {
return
}
- if !assert.EqualValues(t, len(expectedNames), len(pageMetas)) {
+ if !assert.Len(t, pageMetas, len(expectedNames)) {
return
}
for i, pageMeta := range pageMetas {