aboutsummaryrefslogtreecommitdiffstats
path: root/models/unittest/consistency.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/unittest/consistency.go')
-rw-r--r--models/unittest/consistency.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/unittest/consistency.go b/models/unittest/consistency.go
index 17ff75c089..41798c6253 100644
--- a/models/unittest/consistency.go
+++ b/models/unittest/consistency.go
@@ -152,7 +152,7 @@ func init() {
Query()
assert.NoError(t, err)
- assert.EqualValues(t, label.int("NumIssues"), len(issueLabels), "Unexpected number of issue for label id: %d", label.int("ID"))
+ assert.Len(t, issueLabels, label.int("NumIssues"), "Unexpected number of issue for label id: %d", label.int("ID"))
issueIDs := make([]int, len(issueLabels))
for i, issueLabel := range issueLabels {