Skip to content

Commit ddf9fee

Browse files
authored
[mono][tests] Disabling crashing System.Linq tests on ios-like platforms
1 parent 1e8b750 commit ddf9fee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libraries/System.Linq/tests/AverageTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,7 @@ public void Decimal(IEnumerable<decimal> source, decimal expected)
499499
Assert.Equal(expected, source.Average(x => x));
500500
}
501501

502+
[ActiveIssue("https://github.com/dotnet/runtime/issues/97224", typeof(PlatformDetection), nameof(PlatformDetection.IsMonoRuntime), nameof(PlatformDetection.IsAppleMobile))]
502503
[Fact]
503504
public void Decimal_WithSelector()
504505
{
@@ -545,6 +546,7 @@ public void NullableDecimal_NullSelector_ThrowsArgumentNullException()
545546
AssertExtensions.Throws<ArgumentNullException>("selector", () => Enumerable.Empty<decimal?>().Average(selector));
546547
}
547548

549+
[ActiveIssue("https://github.com/dotnet/runtime/issues/97224", typeof(PlatformDetection), nameof(PlatformDetection.IsMonoRuntime), nameof(PlatformDetection.IsAppleMobile))]
548550
[Fact]
549551
public void NullableDecimal_WithSelector()
550552
{

0 commit comments

Comments
 (0)