Skip to content

Commit

Permalink
Take MacCatalyst into account in EnvironmentTests.WorkingSet_Valid te…
Browse files Browse the repository at this point in the history
…st (#63996)

Co-authored-by: Maxim Lipnin <v-maxlip@microsoft.com>
  • Loading branch information
github-actions[bot] and MaximLipnin authored Jan 19, 2022
1 parent 49d6db3 commit 4f567e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ public void Version_Valid()
[Fact]
public void WorkingSet_Valid()
{
if (PlatformDetection.IsBrowser || PlatformDetection.IsiOS || PlatformDetection.IstvOS)
if (PlatformDetection.IsBrowser || (PlatformDetection.IsiOS && !PlatformDetection.IsMacCatalyst) || PlatformDetection.IstvOS)
Assert.Equal(0, Environment.WorkingSet);
else
Assert.True(Environment.WorkingSet > 0, "Expected positive WorkingSet value");
Expand Down

0 comments on commit 4f567e5

Please sign in to comment.