Skip to content

Commit

Permalink
little change
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-knozderko committed Apr 3, 2024
1 parent c9526d5 commit ca86d55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Snowflake.Data.Tests/Util/TestRepeater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ private TestRepeater(List<T> result)

public TestRepeater<T> SkipLargest<TKey>(Func<T, TKey> keySelector)
{
var resultsWithoutLargest = _result.OrderBy(keySelector).SkipLast(1).ToList();
var resultsWithoutLargest = _result.OrderByDescending(keySelector).Skip(1).ToList();
return new TestRepeater<T>(resultsWithoutLargest);
}

Expand Down

0 comments on commit ca86d55

Please sign in to comment.