@@ -122,8 +122,7 @@ StringTests.test("ForeignIndexes/Valid") {
122
122
123
123
StringTests . test ( " ForeignIndexes/UnexpectedCrash " )
124
124
. xfail (
125
- . Custom( { true } ,
126
- reason: " <rdar://problem/18029290> String.Index caches the grapheme " +
125
+ . Always( " <rdar://problem/18029290> String.Index caches the grapheme " +
127
126
" cluster size, but it is not always correct to use " ) )
128
127
. code {
129
128
@@ -243,7 +242,7 @@ StringTests.test("_splitFirst") {
243
242
}
244
243
245
244
StringTests . test ( " hasPrefix " )
246
- . skip ( . LinuxAny ( reason : " hasPrefix unavailable " ) )
245
+ . skip ( . NativeRuntime ( " String. hasPrefix undefined without _runtime(_ObjC) " ) )
247
246
. code {
248
247
#if _runtime(_ObjC)
249
248
expectFalse ( " " . hasPrefix ( " " ) )
@@ -614,7 +613,7 @@ func asciiString<
614
613
}
615
614
616
615
StringTests . test ( " stringCoreExtensibility " )
617
- . skip ( . LinuxAny ( reason : " Foundation dependency " ) )
616
+ . skip ( . NativeRuntime ( " Foundation dependency " ) )
618
617
. code {
619
618
#if _runtime(_ObjC)
620
619
let ascii = UTF16 . CodeUnit ( UnicodeScalar ( " X " ) . value)
@@ -655,7 +654,7 @@ StringTests.test("stringCoreExtensibility")
655
654
}
656
655
657
656
StringTests . test ( " stringCoreReserve " )
658
- . skip ( . LinuxAny ( reason : " Foundation dependency " ) )
657
+ . skip ( . NativeRuntime ( " Foundation dependency " ) )
659
658
. code {
660
659
#if _runtime(_ObjC)
661
660
for k in 0 ... 5 {
@@ -912,7 +911,7 @@ StringTests.test("Conversions") {
912
911
// Check the internal functions are correct for ASCII values
913
912
StringTests . test (
914
913
" forall x: Int8, y: Int8 . x < 128 ==> x <ascii y == x <unicode y " )
915
- . skip ( . LinuxAny ( reason : " String._compareASCII defined when _runtime(_ObjC) " ) )
914
+ . skip ( . NativeRuntime ( " String._compareASCII undefined without _runtime(_ObjC) " ) )
916
915
. code {
917
916
#if _runtime(_ObjC)
918
917
let asciiDomain = ( 0 ..< 128 ) . map ( { String ( UnicodeScalar ( $0) ) } )
@@ -1065,7 +1064,7 @@ StringTests.test("unicodeViews") {
1065
1064
// Validate that index conversion does something useful for Cocoa
1066
1065
// programmers.
1067
1066
StringTests . test ( " indexConversion " )
1068
- . skip ( . LinuxAny ( reason : " Foundation dependency " ) )
1067
+ . skip ( . NativeRuntime ( " Foundation dependency " ) )
1069
1068
. code {
1070
1069
#if _runtime(_ObjC)
1071
1070
let re : NSRegularExpression
0 commit comments