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 committed Jul 10, 2022
1 parent 983112b commit a70a84d
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 a70a84d

Please sign in to comment.