@@ -149,12 +149,12 @@ let s2 = "Long ascii string with no accented characters (obviously)."
149
149
150
150
StringCreateTests . test ( " Validating.utf8 " )
151
151
. skip ( . custom(
152
- { if #available( SwiftStdlib 5 . 10 , * ) { false } else { true } } ,
153
- reason: " Requires Swift 5.10 's standard library "
152
+ { if #available( SwiftStdlib 5 . 11 , * ) { false } else { true } } ,
153
+ reason: " Requires Swift 5.11 's standard library "
154
154
) )
155
155
. code {
156
- guard #available( SwiftStdlib 5 . 10 , * ) else { return }
157
-
156
+ guard #available( SwiftStdlib 5 . 11 , * ) else { return }
157
+
158
158
let i1 = Array ( s1. utf8)
159
159
let i2 = Array ( s2. utf8)
160
160
let i3 = {
@@ -183,11 +183,11 @@ StringCreateTests.test("Validating.utf8")
183
183
184
184
StringCreateTests . test ( " Validating.utf8.from.int8 " )
185
185
. skip ( . custom(
186
- { if #available( SwiftStdlib 5 . 10 , * ) { false } else { true } } ,
187
- reason: " Requires Swift 5.10 's standard library "
186
+ { if #available( SwiftStdlib 5 . 11 , * ) { false } else { true } } ,
187
+ reason: " Requires Swift 5.11 's standard library "
188
188
) )
189
189
. code {
190
- guard #available( SwiftStdlib 5 . 10 , * ) else { return }
190
+ guard #available( SwiftStdlib 5 . 11 , * ) else { return }
191
191
192
192
let i1 = s1. utf8. map ( Int8 . init ( bitPattern: ) )
193
193
let i2 = s2. utf8. map ( Int8 . init ( bitPattern: ) )
@@ -210,11 +210,11 @@ StringCreateTests.test("Validating.utf8.from.int8")
210
210
211
211
StringCreateTests . test ( " Validating.ascii " )
212
212
. skip ( . custom(
213
- { if #available( SwiftStdlib 5 . 10 , * ) { false } else { true } } ,
214
- reason: " Requires Swift 5.10 's standard library "
213
+ { if #available( SwiftStdlib 5 . 11 , * ) { false } else { true } } ,
214
+ reason: " Requires Swift 5.11 's standard library "
215
215
) )
216
216
. code {
217
- guard #available( SwiftStdlib 5 . 10 , * ) else { return }
217
+ guard #available( SwiftStdlib 5 . 11 , * ) else { return }
218
218
219
219
let i1 = Array ( s1. utf8)
220
220
let i2 = Array ( s2. utf8)
@@ -237,11 +237,11 @@ StringCreateTests.test("Validating.ascii")
237
237
238
238
StringCreateTests . test ( " Validating.utf16 " )
239
239
. skip ( . custom(
240
- { if #available( SwiftStdlib 5 . 10 , * ) { false } else { true } } ,
241
- reason: " Requires Swift 5.10 's standard library "
240
+ { if #available( SwiftStdlib 5 . 11 , * ) { false } else { true } } ,
241
+ reason: " Requires Swift 5.11 's standard library "
242
242
) )
243
243
. code {
244
- guard #available( SwiftStdlib 5 . 10 , * ) else { return }
244
+ guard #available( SwiftStdlib 5 . 11 , * ) else { return }
245
245
246
246
let i1 = Array ( s1. utf16)
247
247
let i2 = Array ( s2. utf16)
@@ -264,11 +264,11 @@ StringCreateTests.test("Validating.utf16")
264
264
265
265
StringCreateTests . test ( " Validating.utf32 " )
266
266
. skip ( . custom(
267
- { if #available( SwiftStdlib 5 . 10 , * ) { false } else { true } } ,
268
- reason: " Requires Swift 5.10 's standard library "
267
+ { if #available( SwiftStdlib 5 . 11 , * ) { false } else { true } } ,
268
+ reason: " Requires Swift 5.11 's standard library "
269
269
) )
270
270
. code {
271
- guard #available( SwiftStdlib 5 . 10 , * ) else { return }
271
+ guard #available( SwiftStdlib 5 . 11 , * ) else { return }
272
272
273
273
let i1 = s1. unicodeScalars. map ( \. value)
274
274
let i2 = s2. unicodeScalars. map ( \. value)
0 commit comments