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 {
254
254
func (list ReactionList ) getUserIDs () []int64 {
255
255
userIDs := make (map [int64 ]struct {}, len (list ))
256
256
for _ , reaction := range list {
257
- if reaction .OriginalAuthor = = "" {
257
+ if reaction .OriginalAuthor ! = "" {
258
258
continue
259
259
}
260
260
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) {
210
210
{
211
211
UserID : 1669571 ,
212
212
UserName : "mrsdizzie" ,
213
- Content : "confused " ,
213
+ Content : "-1 " ,
214
214
},
215
215
{
216
216
UserID : 1669571 ,
217
217
UserName : "mrsdizzie" ,
218
- Content : "hooray " ,
218
+ Content : "confused " ,
219
219
},
220
220
{
221
221
UserID : 1669571 ,
222
222
UserName : "mrsdizzie" ,
223
- Content : "+1 " ,
223
+ Content : "hooray " ,
224
224
},
225
225
{
226
226
UserID : 1669571 ,
You can’t perform that action at this time.
0 commit comments