mirror of
https://github.com/go-gitea/gitea
synced 2025-07-16 07:18:37 +00:00
Enable tenv and testifylint rules (#32852)
Enables tenv and testifylint linters closes: https://github.com/go-gitea/gitea/issues/32842
This commit is contained in:
@@ -40,7 +40,7 @@ func Test_ToPullReview(t *testing.T) {
|
||||
user4 := unittest.AssertExistsAndLoadBean(t, &user_model.User{ID: 4})
|
||||
prList, err := ToPullReviewList(db.DefaultContext, reviewList, user4)
|
||||
assert.NoError(t, err)
|
||||
assert.Len(t, prList, 0)
|
||||
assert.Empty(t, prList)
|
||||
})
|
||||
|
||||
t.Run("Admin User", func(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user