Skip to content

Commit b38ba53

Browse files
committedAug 4, 2023
test: ignore key ordering
Seems like ibctesting.GenerateKeys can returns keys in different orders when test cover is enabled.
1 parent d8b7ec3 commit b38ba53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎x/ccv/types/utils_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func TestAccumulateChanges(t *testing.T) {
8484
for _, tc := range testCases {
8585
t.Run(tc.name, func(t *testing.T) {
8686
changes := types.AccumulateChanges(tc.changes1, tc.changes2)
87-
require.Equal(t, tc.expected, changes)
87+
require.ElementsMatch(t, tc.expected, changes)
8888
})
8989
}
9090
}

0 commit comments

Comments
 (0)
Please sign in to comment.