■ ■ ■ ■ ■ ■
checks/raw/code_review_test.go
| skipped 357 lines |
358 | 358 | | changesets := getChangesets(tt.commits) |
359 | 359 | | if !cmp.Equal(tt.expected, changesets, |
360 | 360 | | cmpopts.SortSlices(func(x, y checker.Changeset) bool { |
| 361 | + | if x.RevisionID == y.RevisionID { |
| 362 | + | return x.ReviewPlatform < y.ReviewPlatform |
| 363 | + | } |
361 | 364 | | return x.RevisionID < y.RevisionID |
362 | 365 | | }), |
363 | 366 | | cmpopts.SortSlices(func(x, y clients.Commit) bool { |
| skipped 8 lines |