From 782d30802059f75cfc3b742fb7d4415c10c7cace Mon Sep 17 00:00:00 2001 From: Simon Cropp Date: Fri, 20 Dec 2024 23:30:48 +1100 Subject: [PATCH] Update PolyfillTests_IEnumerable_MinMax.cs --- src/Tests/PolyfillTests_IEnumerable_MinMax.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Tests/PolyfillTests_IEnumerable_MinMax.cs b/src/Tests/PolyfillTests_IEnumerable_MinMax.cs index 8526e981..f6e87287 100644 --- a/src/Tests/PolyfillTests_IEnumerable_MinMax.cs +++ b/src/Tests/PolyfillTests_IEnumerable_MinMax.cs @@ -1,14 +1,14 @@ partial class PolyfillTests { - static readonly ReverseComparer reverseComparer = new(); + static ReverseComparer reverseComparer = new(); - static readonly IEnumerable comparableValues = [1, 2]; - static readonly IEnumerable comparableNullables = [null, 1, 2]; - static readonly IEnumerable comparableReferences = [null, "ab", "baa"]; + static IEnumerable comparableValues = [1, 2]; + static IEnumerable comparableNullables = [null, 1, 2]; + static IEnumerable comparableReferences = [null, "ab", "baa"]; - static readonly IEnumerable emptyValues = []; - static readonly IEnumerable emptyNullables = []; - static readonly IEnumerable emptyReferences = []; + static IEnumerable emptyValues = []; + static IEnumerable emptyNullables = []; + static IEnumerable emptyReferences = []; static void AssertThrowsNoElementsException(TestDelegate code) => Assert.AreEqual("Sequence contains no elements",