Skip to content

Commit a293d46

Browse files
authored
Disable a test that fails with ICU-76 (#1151)
The behavior regarding parsing a POSIX string will change in ICU-76. While we haven't updated ICU dependency to ICU-76 yet, test will fail when we do. Disable the test for now. I'll follow up with ICU owners to figure out the expected behavior and update the test or implementation if needed. resolves 143438257
1 parent 281db8e commit a293d46

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tests/FoundationInternationalizationTests/LocaleComponentsTests.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ final class LocaleComponentsTests: XCTestCase {
171171
return comps
172172
}
173173

174+
#if FIXED_ICU76_POSIX_VARIANT
174175
verify("en-US-u-ca-japanese-cu-eur-va-posix-tz-brrbr-ms-metric") {
175176
var comps = Locale.Components(languageCode: "en", languageRegion: "US")
176177
comps.calendar = .japanese
@@ -180,6 +181,7 @@ final class LocaleComponentsTests: XCTestCase {
180181
comps.measurementSystem = .metric
181182
return comps
182183
}
184+
#endif
183185

184186
verify("de-DE-u-co-phonebk") {
185187
var comps = Locale.Components(languageCode: .german, languageRegion: .germany)

0 commit comments

Comments
 (0)