Skip to content

Commit 93e159f

Browse files
committed
Fix lint check error
1 parent 420b852 commit 93e159f

File tree

1 file changed

+1
-1
lines changed
  • modules/indexer/issues/internal/tests

1 file changed

+1
-1
lines changed

modules/indexer/issues/internal/tests/tests.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ var cases = []*testIndexerCase{
331331
ProjectIDs: []int64{0},
332332
},
333333
Expected: func(t *testing.T, data map[int64]*internal.IndexerData, result *internal.SearchResult) {
334-
assert.Len(t, result.Hits, 0)
334+
assert.Empty(t, result.Hits)
335335
for _, v := range result.Hits {
336336
if len(data[v.ID].ProjectIDs) > 0 {
337337
assert.Equal(t, int64(1), data[v.ID].ProjectIDs[0])

0 commit comments

Comments
 (0)