Skip to content

Commit

Permalink
Update PolyfillTests_IEnumerable_MinMax.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Dec 20, 2024
1 parent e4a6dab commit 782d308
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/Tests/PolyfillTests_IEnumerable_MinMax.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
partial class PolyfillTests
{
static readonly ReverseComparer reverseComparer = new();
static ReverseComparer reverseComparer = new();

static readonly IEnumerable<int> comparableValues = [1, 2];
static readonly IEnumerable<int?> comparableNullables = [null, 1, 2];
static readonly IEnumerable<string?> comparableReferences = [null, "ab", "baa"];
static IEnumerable<int> comparableValues = [1, 2];
static IEnumerable<int?> comparableNullables = [null, 1, 2];
static IEnumerable<string?> comparableReferences = [null, "ab", "baa"];

static readonly IEnumerable<int> emptyValues = [];
static readonly IEnumerable<int?> emptyNullables = [];
static readonly IEnumerable<string?> emptyReferences = [];
static IEnumerable<int> emptyValues = [];
static IEnumerable<int?> emptyNullables = [];
static IEnumerable<string?> emptyReferences = [];

static void AssertThrowsNoElementsException(TestDelegate code) =>
Assert.AreEqual("Sequence contains no elements",
Expand Down

0 comments on commit 782d308

Please sign in to comment.