Skip to content

Commit 4574ccb

Browse files
authored
#76596 update icu version for norwegian culture (#77003)
* #76596 update icu version for norwegian culture
1 parent a54293e commit 4574ccb

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

eng/Version.Details.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Dependencies>
22
<ProductDependencies>
3-
<Dependency Name="Microsoft.NETCore.Runtime.ICU.Transport" Version="8.0.0-alpha.1.22512.11">
3+
<Dependency Name="Microsoft.NETCore.Runtime.ICU.Transport" Version="8.0.0-alpha.1.22513.1">
44
<Uri>https://github.com/dotnet/icu</Uri>
55
<Sha>a14f6037f69588c9c0af85c3b78cebbe3eb33982</Sha>
66
</Dependency>

eng/Versions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
<MicrosoftNETILLinkTasksVersion>7.0.100-1.22514.1</MicrosoftNETILLinkTasksVersion>
204204
<MicrosoftNETILLinkAnalyzerPackageVersion>$(MicrosoftNETILLinkTasksVersion)</MicrosoftNETILLinkAnalyzerPackageVersion>
205205
<!-- ICU -->
206-
<MicrosoftNETCoreRuntimeICUTransportVersion>8.0.0-alpha.1.22512.11</MicrosoftNETCoreRuntimeICUTransportVersion>
206+
<MicrosoftNETCoreRuntimeICUTransportVersion>8.0.0-alpha.1.22513.1</MicrosoftNETCoreRuntimeICUTransportVersion>
207207
<!-- MsQuic -->
208208
<MicrosoftNativeQuicMsQuicVersion>2.1.1</MicrosoftNativeQuicMsQuicVersion>
209209
<SystemNetMsQuicTransportVersion>7.0.0-alpha.1.22406.1</SystemNetMsQuicTransportVersion>

src/libraries/System.Globalization/tests/CultureInfo/CultureInfoAll.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -822,5 +822,15 @@ public void CultureNotFoundExceptionTest()
822822
e = AssertExtensions.Throws<CultureNotFoundException>("culture", () => new CultureInfo(0x1000));
823823
Assert.Equal(0x1000, e.InvalidCultureId);
824824
}
825+
826+
[Theory]
827+
[PlatformSpecific(TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)] // for these platforms cultures are taken from icu filters
828+
[InlineData("nb-NO")]
829+
public void ContainsCulture(string culture)
830+
{
831+
var cultures = CultureInfo.GetCultures(CultureTypes.AllCultures);
832+
var containsCulture = cultures.Any(x=>x.Name == culture);
833+
Assert.True(containsCulture);
834+
}
825835
}
826836
}

src/libraries/System.Globalization/tests/CultureInfo/CultureInfoCtor.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,8 @@ public static IEnumerable<object[]> Ctor_String_TestData()
233233
yield return new object[] { "ms-MY", new [] { "ms-MY" } };
234234
yield return new object[] { "mt", new [] { "mt" }, true };
235235
yield return new object[] { "mt-MT", new [] { "mt-MT" }, true };
236-
yield return new object[] { "nb", new [] { "nb" }, true };
237-
yield return new object[] { "nb-NO", new [] { "nb-NO" }, true };
236+
yield return new object[] { "nb", new [] { "nb" } };
237+
yield return new object[] { "nb-NO", new [] { "nb-NO" } };
238238
yield return new object[] { "ne", new [] { "ne" }, true };
239239
yield return new object[] { "ne-NP", new [] { "ne-NP" }, true };
240240
yield return new object[] { "nl", new [] { "nl" } };

0 commit comments

Comments
 (0)