diff --git a/src/libraries/System.Runtime/tests/System.Globalization.Extensions.Tests/IdnMapping/Data/Factory.cs b/src/libraries/System.Runtime/tests/System.Globalization.Extensions.Tests/IdnMapping/Data/Factory.cs index c2610eb092ced3..f1d96fc1c94097 100644 --- a/src/libraries/System.Runtime/tests/System.Globalization.Extensions.Tests/IdnMapping/Data/Factory.cs +++ b/src/libraries/System.Runtime/tests/System.Globalization.Extensions.Tests/IdnMapping/Data/Factory.cs @@ -28,7 +28,7 @@ private static Stream GetIdnaTestTxt() string fileName = null; if (PlatformDetection.ICUVersion >= new Version(76, 0)) fileName = "IdnaTest_16.txt"; - else if (PlatformDetection.ICUVersion >= new Version(74, 0)) + else if (PlatformDetection.ICUVersion >= new Version(72, 0)) fileName = "IdnaTest_15_1.txt"; else if (PlatformDetection.ICUVersion >= new Version(66, 0) || PlatformDetection.IsHybridGlobalizationOnApplePlatform) fileName = "IdnaTest_13.txt"; @@ -67,7 +67,7 @@ private static IConformanceIdnaTest GetConformanceIdnaTest(string line, int line { if (PlatformDetection.ICUVersion >= new Version(76, 0)) return new Unicode_16_0_IdnaTest(line, lineCount); - else if (PlatformDetection.ICUVersion >= new Version(74, 0)) + else if (PlatformDetection.ICUVersion >= new Version(72, 0)) return new Unicode_15_1_IdnaTest(line, lineCount); else if (PlatformDetection.ICUVersion >= new Version(66, 0) || PlatformDetection.IsHybridGlobalizationOnApplePlatform) return new Unicode_13_0_IdnaTest(line, lineCount);