File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ func (list ReactionList) GroupByType() map[string]ReactionList {
254254func (list ReactionList ) getUserIDs () []int64 {
255255 userIDs := make (map [int64 ]struct {}, len (list ))
256256 for _ , reaction := range list {
257- if reaction .OriginalAuthor = = "" {
257+ if reaction .OriginalAuthor ! = "" {
258258 continue
259259 }
260260 if _ , ok := userIDs [reaction .UserID ]; ! ok {
Original file line number Diff line number Diff line change @@ -210,17 +210,17 @@ func TestGitHubDownloadRepo(t *testing.T) {
210210 {
211211 UserID : 1669571 ,
212212 UserName : "mrsdizzie" ,
213- Content : "confused " ,
213+ Content : "-1 " ,
214214 },
215215 {
216216 UserID : 1669571 ,
217217 UserName : "mrsdizzie" ,
218- Content : "hooray " ,
218+ Content : "confused " ,
219219 },
220220 {
221221 UserID : 1669571 ,
222222 UserName : "mrsdizzie" ,
223- Content : "+1 " ,
223+ Content : "hooray " ,
224224 },
225225 {
226226 UserID : 1669571 ,
You can’t perform that action at this time.
0 commit comments