Update tests for 6.1 Unicode 16 stdlib

This commit is contained in:
Alejandro Alonso
2025-01-15 14:09:57 -08:00
parent d3146e37b3
commit 708d72d2c3
10 changed files with 1586 additions and 335 deletions

View File

@@ -68,7 +68,7 @@ extension String {
}
}
if #available(SwiftStdlib 5.9, *) {
if #available(SwiftStdlib 6.1, *) {
StringWordBreaking.test("word breaking") {
for wordBreakTest in wordBreakTests {
expectEqual(
@@ -168,7 +168,7 @@ func getUTF16Array(from string: String) -> [UInt16] {
return result
}
if #available(SwiftStdlib 5.9, *) {
if #available(SwiftStdlib 6.1, *) {
StringWordBreaking.test("word breaking foreign") {
for wordBreakTest in wordBreakTests {
let foreignTest = NonContiguousNSString(