From ddf9fee30558be7a6c8f70d1014e6ec4ebd82796 Mon Sep 17 00:00:00 2001 From: Ivan Povazan <55002338+ivanpovazan@users.noreply.github.com> Date: Fri, 26 Jan 2024 10:43:41 +0100 Subject: [PATCH] [mono][tests] Disabling crashing System.Linq tests on ios-like platforms --- src/libraries/System.Linq/tests/AverageTests.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libraries/System.Linq/tests/AverageTests.cs b/src/libraries/System.Linq/tests/AverageTests.cs index 0ca25ce914dfb..2b54c04f952bf 100644 --- a/src/libraries/System.Linq/tests/AverageTests.cs +++ b/src/libraries/System.Linq/tests/AverageTests.cs @@ -499,6 +499,7 @@ public void Decimal(IEnumerable source, decimal expected) Assert.Equal(expected, source.Average(x => x)); } + [ActiveIssue("https://github.com/dotnet/runtime/issues/97224", typeof(PlatformDetection), nameof(PlatformDetection.IsMonoRuntime), nameof(PlatformDetection.IsAppleMobile))] [Fact] public void Decimal_WithSelector() { @@ -545,6 +546,7 @@ public void NullableDecimal_NullSelector_ThrowsArgumentNullException() AssertExtensions.Throws("selector", () => Enumerable.Empty().Average(selector)); } + [ActiveIssue("https://github.com/dotnet/runtime/issues/97224", typeof(PlatformDetection), nameof(PlatformDetection.IsMonoRuntime), nameof(PlatformDetection.IsAppleMobile))] [Fact] public void NullableDecimal_WithSelector() {