Skip to content

Commit

Permalink
test: ignore key ordering
Browse files Browse the repository at this point in the history
Seems like ibctesting.GenerateKeys can returns keys in different orders
when test cover is enabled.
  • Loading branch information
tbruyelle committed Aug 4, 2023
1 parent d8b7ec3 commit b38ba53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/ccv/types/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func TestAccumulateChanges(t *testing.T) {
for _, tc := range testCases {
t.Run(tc.name, func(t *testing.T) {
changes := types.AccumulateChanges(tc.changes1, tc.changes2)
require.Equal(t, tc.expected, changes)
require.ElementsMatch(t, tc.expected, changes)
})
}
}

0 comments on commit b38ba53

Please sign in to comment.