Skip to content

Commit 82b3329

Browse files
authored
Fix TimeZoneInfoTests.cs on iOS/tvOS
The UTC alias test cases failed there after #88641
1 parent 2ad94b4 commit 82b3329

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libraries/System.Runtime/tests/System/TimeZoneInfoTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2335,7 +2335,7 @@ public static IEnumerable<object[]> SystemTimeZonesTestData()
23352335
}
23362336
}
23372337

2338-
if (!PlatformDetection.IsBrowser)
2338+
if (!PlatformDetection.IsBrowser && !PlatformDetection.IsiOS && !PlatformDetection.IstvOS)
23392339
{
23402340
foreach (string alias in s_UtcAliases)
23412341
{

0 commit comments

Comments
 (0)