This commit is contained in:
Song Guo 2018-05-22 21:13:10 +08:00
parent 35e0f5b3cc
commit 5f08f1bc0a
2 changed files with 1 additions and 6 deletions

View File

@ -12,8 +12,3 @@
id: 3 id: 3
issue_id: 2 issue_id: 2
label_id: 1 label_id: 1
-
id: 4
issue_id: 1
label_id: 2

View File

@ -205,7 +205,7 @@ func TestIssues(t *testing.T) {
Page: 1, Page: 1,
PageSize: 4, PageSize: 4,
}, },
[]int64{1}, // issues with **both** label 1 and 2, only issue 1 matches []int64{}, // issues with **both** label 1 and 2, none of these issues matches, TODO: add more tests
}, },
} { } {
issues, err := Issues(&test.Opts) issues, err := Issues(&test.Opts)