Skip to content

Commit

Permalink
[mono][tests] Disabling crashing System.Linq tests on ios-like platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanpovazan authored Jan 26, 2024
1 parent 1e8b750 commit ddf9fee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libraries/System.Linq/tests/AverageTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,7 @@ public void Decimal(IEnumerable<decimal> 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()
{
Expand Down Expand Up @@ -545,6 +546,7 @@ public void NullableDecimal_NullSelector_ThrowsArgumentNullException()
AssertExtensions.Throws<ArgumentNullException>("selector", () => Enumerable.Empty<decimal?>().Average(selector));
}

[ActiveIssue("https://github.com/dotnet/runtime/issues/97224", typeof(PlatformDetection), nameof(PlatformDetection.IsMonoRuntime), nameof(PlatformDetection.IsAppleMobile))]
[Fact]
public void NullableDecimal_WithSelector()
{
Expand Down

0 comments on commit ddf9fee

Please sign in to comment.