mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Update tests for 6.1 Unicode 16 stdlib
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user