Skip to content

Commit f5c6a31

Browse files
fix lint
1 parent 789b73b commit f5c6a31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/user/badge_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@ func TestGetBadgeUsers(t *testing.T) {
5757
users, count, err = user_model.GetBadgeUsers(db.DefaultContext, opts)
5858
assert.NoError(t, err)
5959
assert.EqualValues(t, 0, count)
60-
assert.Len(t, users, 0)
60+
assert.Empty(t, users)
6161
}

0 commit comments

Comments
 (0)