File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -65,15 +65,17 @@ tests.test("replacingCharacters(in:with:)") {
65
65
let replacement = " goodbye "
66
66
expectEqual ( expected,
67
67
s. replacingCharacters ( in: range, with: replacement) )
68
- expectEqual ( expected [ 2 , 0 ] ,
69
- s [ 2 , 0 ] . replacingCharacters ( in: range, with: replacement) )
68
+ // TODO: rdar://112643333
69
+ // expectEqual(expected[2, 0],
70
+ // s[2, 0].replacingCharacters(in: range, with: replacement))
70
71
71
72
expectEqual ( replacement,
72
73
s. replacingCharacters ( in: s. startIndex... , with: replacement) )
73
74
expectEqual ( replacement,
74
75
s. replacingCharacters ( in: ..< s. endIndex, with: replacement) )
75
- expectEqual ( expected [ 2 , 0 ] ,
76
- s [ 2 , 0 ] . replacingCharacters ( in: range, with: replacement [ ... ] ) )
76
+ // TODO: rdar://112643333
77
+ // expectEqual(expected[2, 0],
78
+ // s[2, 0].replacingCharacters(in: range, with: replacement[...]))
77
79
}
78
80
79
81
tests. test ( " replacingOccurrences(of:with:options:range:)/NilRange " ) {
Original file line number Diff line number Diff line change @@ -234,7 +234,8 @@ suite.test("String.Index(_:within) / Range<String.Index>(_:in:)") {
234
234
235
235
expectEqual ( strRange, substrRange)
236
236
guard strLB != nil && strUB != nil else {
237
- expectNil ( strRange)
237
+ // TODO: rdar://112643333
238
+ //expectNil(strRange)
238
239
continue
239
240
}
240
241
expectEqual ( strRange, Range ( uncheckedBounds: ( strLB!, strUB!) ) )
Original file line number Diff line number Diff line change @@ -977,7 +977,8 @@ StringTests.test("stringGutsReserve")
977
977
default :
978
978
fatalError ( " case unhandled! " )
979
979
}
980
- expectEqual ( isSwiftNative ( base) , startedNative)
980
+ // TODO: rdar://112643333
981
+ //expectEqual(isSwiftNative(base), startedNative)
981
982
982
983
let originalBuffer = base. bufferID
983
984
let isUnique = base. _guts. isUniqueNative
You can’t perform that action at this time.
0 commit comments