Skip to content

Commit 710877e

Browse files
committed
fix lint
1 parent 7e7a3cc commit 710877e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/repo/repo_list_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ func testSearchRepositoryRestricted(t *testing.T) {
236236
ListOptions: db.ListOptions{Page: 1, PageSize: 10000},
237237
Actor: user,
238238
})
239-
require.Nil(t, err)
239+
require.NoError(t, err)
240240
assert.Len(t, repos, int(count))
241241
for _, repo := range repos {
242242
require.NoError(t, repo.LoadOwner(t.Context()))

0 commit comments

Comments
 (0)