We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0365eec commit ef8fa68Copy full SHA for ef8fa68
models/issues/issue_list_test.go
@@ -69,7 +69,7 @@ func TestIssueList_LoadAttributes(t *testing.T) {
69
assert.NotNil(t, issue.Projects[0])
70
assert.Equal(t, int64(1), issue.Projects[0].ID)
71
} else {
72
- assert.Nil(t, issue.Projects[0])
+ assert.Nil(t, issue.Projects)
73
}
74
75
0 commit comments