Skip to content

Commit

Permalink
Make Select_nested_collection_with_groupby have deterministic ordering (
Browse files Browse the repository at this point in the history
  • Loading branch information
roji authored Jul 12, 2022
1 parent 78237c3 commit 4f88e1c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1988,7 +1988,7 @@ public virtual Task Select_nested_collection_with_groupby(bool async)
? c.Orders.GroupBy(o => o.OrderID).Select(g => g.Key).ToArray()
: Array.Empty<int>()),
assertOrder: true,
elementAsserter: (e, a) => Assert.True(e.SequenceEqual(a)));
elementAsserter: (e, a) => Assert.True(e.OrderBy(x => x).SequenceEqual(a.OrderBy(x => x))));

[ConditionalTheory]
[MemberData(nameof(IsAsyncData))]
Expand Down

0 comments on commit 4f88e1c

Please sign in to comment.