From 82b33290bd23c01d08fb9151ab45472ff229d1a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20K=C3=B6plinger?= Date: Fri, 14 Jul 2023 15:25:32 +0200 Subject: [PATCH] Fix TimeZoneInfoTests.cs on iOS/tvOS The UTC alias test cases failed there after https://github.com/dotnet/runtime/pull/88641 --- src/libraries/System.Runtime/tests/System/TimeZoneInfoTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/System.Runtime/tests/System/TimeZoneInfoTests.cs b/src/libraries/System.Runtime/tests/System/TimeZoneInfoTests.cs index 386ca83b3771f1..0618def24946d1 100644 --- a/src/libraries/System.Runtime/tests/System/TimeZoneInfoTests.cs +++ b/src/libraries/System.Runtime/tests/System/TimeZoneInfoTests.cs @@ -2335,7 +2335,7 @@ public static IEnumerable SystemTimeZonesTestData() } } - if (!PlatformDetection.IsBrowser) + if (!PlatformDetection.IsBrowser && !PlatformDetection.IsiOS && !PlatformDetection.IstvOS) { foreach (string alias in s_UtcAliases) {