mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-10-25 03:57:13 +08:00
Fixed assert statements. (#16089)
This commit is contained in:
@ -33,5 +33,5 @@ func TestDeleteNotPassedAssignee(t *testing.T) {
|
||||
// Check they're gone
|
||||
assignees, err := models.GetAssigneesByIssue(issue)
|
||||
assert.NoError(t, err)
|
||||
assert.Equal(t, 0, len(assignees))
|
||||
assert.Empty(t, assignees)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user