[test] Update String tests for older iOS versions

This commit is contained in:
Michael Ilseman
2018-07-13 16:08:36 -07:00
parent ea795a2ffb
commit c8ed8f9a2f
2 changed files with 2 additions and 0 deletions

View File

@@ -903,6 +903,7 @@ StringTests.test("stringGutsReserve")
.skip(.nativeRuntime("Foundation dependency"))
.code {
#if _runtime(_ObjC)
guard #available(iOS 11.0, *) else { return }
for k in 0...7 {
var base: String
var startedNative: Bool