Fix OperatingSystemTest.TestIsOSPlatform_MacCatalyst (#84842)
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Tue, 18 Apr 2023 16:36:42 +0000 (18:36 +0200)
committerGitHub <noreply@github.com>
Tue, 18 Apr 2023 16:36:42 +0000 (12:36 -0400)
commit634cc1e04e91b2b264a57798a2c733ae261758f9
tree4ce1fa7932bed408543b64c239e40e0275e2dd39
parent5100b5b6b7c56cfb32a1609e2786ba5a69d2f704
Fix OperatingSystemTest.TestIsOSPlatform_MacCatalyst (#84842)

It got broken by 3d160bc247960bb255bb45421f422d6bd543f2e2 because the assert wasn't updated.
Changed the code to verify the iOS/Catalyst conditions explicitly so this doesn't happen again.
src/libraries/System.Runtime.Extensions/tests/System/OperatingSystemTests.cs