Skip to content

Commit 11cbbc1

Browse files
committed
---
yaml --- r: 317375 b: refs/heads/master-rebranch c: f22358c h: refs/heads/master i: 317373: 85a55a6 317371: e3f4e5f 317367: d3f5939 317359: f75fa48 317343: b575865 317311: 5e6b5b9
1 parent 1804aeb commit 11cbbc1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1457,4 +1457,4 @@ refs/tags/swift-DEVELOPMENT-SNAPSHOT-2019-08-02-a: ddd2b2976aa9bfde5f20fe37f6bd2
14571457
refs/tags/swift-DEVELOPMENT-SNAPSHOT-2019-08-03-a: 171cc166f2abeb5ca2a4003700a8a78a108bd300
14581458
refs/heads/benlangmuir-patch-1: baaebaf39d52f3bf36710d4fe40cf212e996b212
14591459
refs/heads/i-do-redeclare: 8c4e6d5de5c1e3f0a2cedccf319df713ea22c48e
1460-
refs/heads/master-rebranch: 0b9b492d55dac1eb858cc5ab8c7b1a729fe83ca0
1460+
refs/heads/master-rebranch: f22358c54678817c18ddb3134da34ca8dc693bd9

branches/master-rebranch/test/stdlib/Character.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ testCharacters += [
106106
]
107107

108108
// Only run it on recent enough versions of ICU
109+
#if _runtime(_ObjC)
109110
if #available(iOS 11.0, macOS 10.13, tvOS 11.0, watchOS 4.0, *) {
110111
testCharacters += [
111112
"\u{00a9}\u{0300}\u{0300}\u{0300}\u{0300}\u{0300}", // UTF-8: 12 bytes
@@ -116,6 +117,7 @@ if #available(iOS 11.0, macOS 10.13, tvOS 11.0, watchOS 4.0, *) {
116117
"👩‍👩‍👦‍👦", // UTF-8: 25 bytes
117118
]
118119
}
120+
#endif
119121

120122
func randomGraphemeCluster(_ minSize: Int, _ maxSize: Int) -> String {
121123
let n = Int.random(in: (minSize + 1) ..< maxSize)

0 commit comments

Comments
 (0)